fix variable name in network handler

This commit is contained in:
Robert Kaussow 2017-10-18 14:12:33 +02:00
parent 3cf6d22034
commit 6dc7622ccf

View File

@ -20,11 +20,10 @@
- name: wait for host - name: wait for host
local_action: local_action:
module: wait_for module: wait_for
host={{ network.config[network.defaultif].ipaddr }} host={{ network_interfaces[network_defaultif].ipaddr }}
port=22 port=22
delay=1 delay=1
timeout=300 timeout=300
listen: listen:
- "network_restart" - "network_restart"
- "host_reboot" - "host_reboot"