From 6667a00f28ba72805f2327bd34d1e26987e4e0cf Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 30 Sep 2024 10:14:46 -0700 Subject: [PATCH] vhost_reboot: delegate to correct host Signed-off-by: Kevin Fenzi --- playbooks/vhost_reboot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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