feat: add variable postrgresql_primary

This commit is contained in:
Adrien Waksberg 2021-09-11 14:38:26 +02:00
parent 23ed17aad4
commit 6c4697df5e
5 changed files with 16 additions and 7 deletions

View file

@ -51,6 +51,7 @@
loop: '{{ postgresql_databases }}'
become: true
become_user: postgres
when: postgresql_primary
tags: postgresql
- name: manage users
@ -65,4 +66,5 @@
label: '{{ item.name }}/{{ item.database }}'
become: true
become_user: postgres
when: postgresql_primary
tags: postgresql