diff --git a/playbooks/destroy_virt_inst.yml b/playbooks/destroy_virt_inst.yml index f50ac574d2..99bc13e9b0 100644 --- a/playbooks/destroy_virt_inst.yml +++ b/playbooks/destroy_virt_inst.yml @@ -20,7 +20,7 @@ virt: command=list_vms register: result - - name: fail if the hose is not already defined/existent + - name: fail if the host is not already defined/existent local_action: fail msg="host does not exist on $vmhost" when: inventory_hostname not in result.list_vms