summaryrefslogtreecommitdiffstats
path: root/tasks/virt_instance_create.yml
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2017-04-13 01:37:21 +0000
committerKevin Fenzi <kevin@scrye.com>2017-04-13 01:37:21 +0000
commit8a6e51a9a60abeae619cdaa9e2ee443e316cfeb3 (patch)
tree2045f3517d3e7773c92b78ca891d8a97aee6fe07 /tasks/virt_instance_create.yml
parentfeead615f267917b2578426738ce1d1a18ef6ab6 (diff)
downloadansible-8a6e51a9a60abeae619cdaa9e2ee443e316cfeb3.tar.gz
ansible-8a6e51a9a60abeae619cdaa9e2ee443e316cfeb3.tar.xz
ansible-8a6e51a9a60abeae619cdaa9e2ee443e316cfeb3.zip
change state=running to start=started as the old one is going away in ansible 2.7
Diffstat (limited to 'tasks/virt_instance_create.yml')
-rw-r--r--tasks/virt_instance_create.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml
index fa0b53ebc..5785828c1 100644
--- a/tasks/virt_instance_create.yml
+++ b/tasks/virt_instance_create.yml
@@ -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