I wonder if you can now put variables in names like this

This commit is contained in:
Kevin Fenzi 2017-10-09 02:18:50 +00:00
parent 79076087d2
commit b250b314d1

View file

@ -18,7 +18,7 @@
delegate_to: "{{ vmhost }}" delegate_to: "{{ vmhost }}"
when: inventory_hostname not in result.list_vms 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 }} virt: command=status name={{ inventory_hostname }}
register: vmstatus register: vmstatus
until: vmstatus.status == 'shutdown' until: vmstatus.status == 'shutdown'