using new when syntax. gotta test
This commit is contained in:
parent
90d3275e54
commit
7a6423ccdf
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue