change state=running to start=started as the old one is going away in ansible 2.7
This commit is contained in:
parent
feead615f2
commit
8a6e51a9a6
40 changed files with 52 additions and 52 deletions
|
@ -28,7 +28,7 @@
|
|||
when: inventory_hostname not in result.list_vms
|
||||
|
||||
- name: start the vm up
|
||||
virt: state=running name={{ inventory_hostname }}
|
||||
virt: state=started 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