Wait for HAPROXY to be online after a restart.
This commit is contained in:
parent
4a90b9f40d
commit
ee6087de29
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue