using new when syntax. gotta test

This commit is contained in:
Seth Vidal 2013-06-11 15:01:14 +00:00
parent 90d3275e54
commit 7a6423ccdf

View file

@ -22,7 +22,7 @@
- name: fail if the hose is not already defined/existent
local_action: fail msg="host does not exist on $vmhost"
when_string: ${inventory_hostname} not in ${result.list_vms}
when: {{ inventory_hostname }} not in {{ result.list_vms }}
- name: pause for 30s before doing it
pause: seconds=30 prompt="Destroying vm now $target, abort if this is wrong"