hba: make optional when there's no replica

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-11-23 12:56:09 +01:00
parent 1ee52deded
commit 1ff92d5fc5
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
when: postgres_ha_is_master
- import_tasks: hba.yml
when: postgres_ha_is_master
when: postgres_ha_is_master and postgres_ha_replica_enabled
- import_tasks: users.yml
when: postgres_ha_is_master and postgres_ha_replica_enabled