vhost_reboot: delegate to correct host
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
7fd4ed4c67
commit
6667a00f28
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@
|
|||
- name: shutdown vms
|
||||
virt: command=shutdown name={{ inventory_hostname }}
|
||||
ignore_errors: true
|
||||
delegate_to: "target"
|
||||
delegate_to: "{{ target[0] }}"
|
||||
|
||||
- name: wait for the whole set to die.
|
||||
hosts: myvms_new
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue