From 4d53011cf03cab1fdfcd40d6bf3e61ad34da50ea Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 25 Apr 2017 20:34:51 +0000 Subject: [PATCH] Apparently this changed in ansible-2.3 http://docs.ansible.com/ansible/virt_module.html --- tasks/virt_instance_create.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index 0b5fa2993a..45a021c3b0 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