pause the destroy_virt_inst playbook before actually destroying things :)

This commit is contained in:
Seth Vidal 2013-05-06 17:01:33 +00:00
parent a794cafc13
commit 486ae2dd55

View file

@ -24,6 +24,9 @@
local_action: fail msg="host does not exist on $vmhost"
when_string: ${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"
- name: destroy the vm
action: virt name=${inventory_hostname} command=destroy
delegate_to: $vmhost