Try to wait for downed vguests in parallel.

This commit is contained in:
Ralph Bean 2013-11-21 10:24:17 +00:00
parent 6693c72a45
commit 45932af564

View file

@ -49,9 +49,16 @@
ignore_errors: true
# if one of them is down we don't care
- name: wait for the whole set to die.
hosts: myvms_new
user: root
tasks:
- name: wait for them to die
local_action: wait_for port=22 delay=30 timeout=300 state=stopped host=${inventory_hostname}
- name: reboot vhost
hosts: $target
user: root