From b250b314d1b0bbf34511b9840d54c7bdd5681b10 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 9 Oct 2017 02:18:50 +0000 Subject: [PATCH] I wonder if you can now put variables in names like this --- tasks/virt_instance_create.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index 0046e36aba..695e098545 100644 --- a/tasks/virt_instance_create.yml +++ b/tasks/virt_instance_create.yml @@ -18,7 +18,7 @@ delegate_to: "{{ vmhost }}" when: inventory_hostname not in result.list_vms -- name: wait for the install to finish +- name: wait for the install to finish -> {{ inventory_hostname }} virt: command=status name={{ inventory_hostname }} register: vmstatus until: vmstatus.status == 'shutdown'