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