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