summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2017-04-25 19:25:16 +0000
committerRalph Bean <rbean@redhat.com>2017-04-25 19:38:39 +0000
commitf5ba41e0dbc2c055624f622cfab069c082130fe3 (patch)
tree2d6c2a1921f99506d1064fc537e5ac1bebfa0f15
parent351bf21672c12b359669ee59a4c82d22b7d52a79 (diff)
downloadansible-f5ba41e0dbc2c055624f622cfab069c082130fe3.tar.gz
ansible-f5ba41e0dbc2c055624f622cfab069c082130fe3.tar.xz
ansible-f5ba41e0dbc2c055624f622cfab069c082130fe3.zip
Use the state value preferred by ansible here.
Ansible tells me: value of state must be one of: running,shutdown,destroyed,paused, got: started
-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 68005af48..0b5fa2993 100644
--- a/tasks/virt_instance_create.yml
+++ b/tasks/virt_instance_create.yml
@@ -66,7 +66,7 @@
- armv7-kernel
- name: start the vm up
- virt: state=started name={{ inventory_hostname }}
+ virt: state=running name={{ inventory_hostname }}
delegate_to: "{{ vmhost }}"
when: inventory_hostname not in result.list_vms