hba: wait for DB port to be available

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-11-21 16:35:05 +01:00
parent a38d2c707a
commit 35568e2e41
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,9 @@
---
- name: 'Wait for the DB to be available'
wait_for:
port: '{{ postgres_ha_cont_port }}'
delay: 5
- name: 'Allow VPN connections in HBA config'
register: postgres_ha_hba
blockinfile: