Wait for HAPROXY to be online after a restart.

This commit is contained in:
Andrea Dell'Amico 2024-09-16 15:30:21 +02:00
parent 4a90b9f40d
commit ee6087de29
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 7 additions and 0 deletions

View File

@ -11,3 +11,10 @@
service: name=rsyslog state=reloaded
when: haproxy_enabled
- name: Wait for HAPROXY to be online
ansible.builtin.wait_for:
host: 127.0.0.1
port: "{{ haproxy_admin_port }}"
delay: 10
timeout: 90