adding required missing name value to virt define
This commit is contained in:
parent
bddaf80c0a
commit
8bcf992184
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
||||||
with_items: clients
|
with_items: clients
|
||||||
|
|
||||||
- name: ensure vms are defined
|
- name: ensure vms are defined
|
||||||
virt: command=define xml=/root/{{ item.hostname }}.libvirt.xml
|
virt: command=define name={{ item.hostname }} xml=/root/{{ item.hostname }}.libvirt.xml
|
||||||
when: item.hostname not in result.list_vms
|
when: item.hostname not in result.list_vms
|
||||||
with_items: clients
|
with_items: clients
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue