using command since the virt module isn't doing what i want it to do

This commit is contained in:
Tim Flink 2015-05-07 02:53:29 +00:00
parent 050afaf988
commit ae52dab43f

View file

@ -35,7 +35,7 @@
with_items: clients
- name: ensure vms are defined
virt: command=define name={{ item.hostname }} xml=/root/{{ item.hostname }}.libvirt.xml
command: "virsh define --file /root/{{ item.hostname }}.libvirt.xml"
when: item.hostname not in result.list_vms
with_items: clients