databases: create only on master host
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
86abe317e3
commit
d257729557
|
@ -17,6 +17,7 @@
|
|||
when: not postgres_ha_is_master
|
||||
|
||||
- include_tasks: databases.yml
|
||||
when: postgres_ha_is_master
|
||||
with_items: '{{ postgres_ha_databases }}'
|
||||
loop_control:
|
||||
loop_var: db
|
||||
|
|
Loading…
Reference in New Issue