diff --git a/playbooks/vhost_reboot.yml b/playbooks/vhost_reboot.yml index 04ae534e2b..040c10e15f 100644 --- a/playbooks/vhost_reboot.yml +++ b/playbooks/vhost_reboot.yml @@ -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