correct the action name
This commit is contained in:
parent
b16e963e8e
commit
57c6d50f68
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
virt: command=list_vms
|
virt: command=list_vms
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- name: check if the host is already defined/existent
|
- name: fail if the hose is not already defined/existent
|
||||||
local_action: fail msg="host does not exist on $vmhost"
|
local_action: fail msg="host does not exist on $vmhost"
|
||||||
when_string: ${inventory_hostname} not in ${result.list_vms}
|
when_string: ${inventory_hostname} not in ${result.list_vms}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue