Wait for host to come back, for ipa/rabbitmq restarts.
Signed-off-by: James Antill <james@and.org>
This commit is contained in:
parent
a3a40cddf1
commit
4680f6089b
1 changed files with 4 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue