diff --git a/playbooks/destroy_virt_inst.yml b/playbooks/destroy_virt_inst.yml index 2f684e7d7f..b9e9134882 100644 --- a/playbooks/destroy_virt_inst.yml +++ b/playbooks/destroy_virt_inst.yml @@ -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