fix old code for reboot wait

This commit is contained in:
Robert Kaussow 2018-07-02 00:39:35 +02:00
parent d2e52dd958
commit 2c5bafbd93

View File

@ -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"