databases: create only on master host

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-12-05 14:01:52 +01:00
parent 86abe317e3
commit d257729557
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 1 additions and 0 deletions

View File

@ -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