using command since the virt module isn't doing what i want it to do
This commit is contained in:
parent
050afaf988
commit
ae52dab43f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue