Apparently this changed in ansible-2.3 http://docs.ansible.com/ansible/virt_module.html
This commit is contained in:
parent
a02e9cb2b9
commit
4d53011cf0
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@
|
|||
- armv7-kernel
|
||||
|
||||
- name: set it to autostart
|
||||
virt: command=autostart name={{ inventory_hostname }}
|
||||
virt: autostart=True name={{ inventory_hostname }}
|
||||
delegate_to: "{{ vmhost }}"
|
||||
when: inventory_hostname not in result.list_vms
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue