From f80381044973c5d347163bc2f9916eeeb1d9434f Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Tue, 11 Jun 2013 16:46:07 +0000 Subject: [PATCH] make all the when_string be when --- tasks/virt_instance_create.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index ec76e5ff06..325552659a 100644 --- a/tasks/virt_instance_create.yml +++ b/tasks/virt_instance_create.yml @@ -23,16 +23,16 @@ delegate_to: $vmhost async: 1200 poll: 10 - when_string: inventory_hostname not in result.list_vms + when: inventory_hostname not in result.list_vms - name: start the vm up action: virt state=running name=${inventory_hostname} delegate_to: $vmhost - when_string: inventory_hostname not in result.list_vms + when: inventory_hostname not in result.list_vms - name: wait for ssh on the vm to start back local_action: wait_for delay=10 host=${inventory_hostname} port=22 state=started timeout=1200 - when_string: inventory_hostname not in result.list_vms + when: inventory_hostname not in result.list_vms