fix old code for reboot wait
This commit is contained in:
parent
d2e52dd958
commit
2c5bafbd93
@ -18,12 +18,12 @@
|
||||
- "host_reboot"
|
||||
|
||||
- name: Wait for host
|
||||
local_action:
|
||||
module: wait_for
|
||||
host={{ network_interfaces[network_defaultif].ipaddr }}
|
||||
port=22
|
||||
delay=1
|
||||
timeout=300
|
||||
wait_for:
|
||||
host: "{{ ansible_ssh_host }}"
|
||||
port: 22
|
||||
delay: 5
|
||||
timeout: 300
|
||||
connection: local
|
||||
listen:
|
||||
- "network_restart"
|
||||
- "host_reboot"
|
||||
|
Loading…
Reference in New Issue
Block a user