Wait for host to come back, for ipa/rabbitmq restarts.

Signed-off-by: James Antill <james@and.org>
This commit is contained in:
James Antill 2024-10-01 13:58:49 -04:00 committed by kevin
parent a3a40cddf1
commit 4680f6089b

View file

@ -119,6 +119,10 @@
tasks:
- name: Wait for host to come back (ipa or rabbitmq)
local_action: wait_for port=22 delay=30 timeout=300 state=started host={{ inventory_hostname }}
when: inventory_hostname.startswith(('ipa', 'rabbitmq'))
- name: restart gssproxy if we rebooted a ipa server
service: name=gssproxy state=restarted
when: inventory_hostname.startswith('ipa')