vhost_reboot: delegate to correct host

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-09-30 10:14:46 -07:00
parent 7fd4ed4c67
commit 6667a00f28

View file

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