feat: add variable postrgresql_primary
This commit is contained in:
parent
23ed17aad4
commit
6c4697df5e
5 changed files with 16 additions and 7 deletions
tasks
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue