From f5ba41e0dbc2c055624f622cfab069c082130fe3 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 25 Apr 2017 19:25:16 +0000 Subject: [PATCH] Use the state value preferred by ansible here. Ansible tells me: value of state must be one of: running,shutdown,destroyed,paused, got: started --- 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 68005af48f..0b5fa2993a 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