summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2017-04-25 20:34:51 +0000
committerRalph Bean <rbean@redhat.com>2017-04-25 20:34:54 +0000
commit4d53011cf03cab1fdfcd40d6bf3e61ad34da50ea (patch)
tree677c9981fb2f7651d4da7a9832555aa6c8b56950
parenta02e9cb2b93bbfa609b9764b5631408277c6402a (diff)
downloadansible-4d53011cf03cab1fdfcd40d6bf3e61ad34da50ea.tar.gz
ansible-4d53011cf03cab1fdfcd40d6bf3e61ad34da50ea.tar.xz
ansible-4d53011cf03cab1fdfcd40d6bf3e61ad34da50ea.zip
Apparently this changed in ansible-2.3 http://docs.ansible.com/ansible/virt_module.html
-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 0b5fa2993..45a021c3b 100644
--- a/tasks/virt_instance_create.yml
+++ b/tasks/virt_instance_create.yml
@@ -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