failed: [XXX-restd01] (item={'name': 'munge_key', 'type': ['string']}) => changed=false
ansible_loop_var: item
assertion: munge_key is defined
evaluated_to: false
item:
name: munge_key
type:
- string
msg: Variable "munge_key" is undefined or empty.
PLAY RECAP *********************************************************************
XXX-com01 : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
XXX-mas01 : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
XXX-restd01 : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
2023-04-14 10:03:58,846 [WARNING]: [WARNING]: Could not match supplied host pattern, ignoring: com
[WARNING]: Could not match supplied host pattern, ignoring: mas
[WARNING]: Could not match supplied host pattern, ignoring: com
[WARNING]: Could not match supplied host pattern, ignoring: mas
2023-04-14 10:03:58,847 [ERROR]: "ansible-playbook -v -i ./ansible-data/inventories/XXX/hosts ./playbooks/prod/munge.yml" failed due to:
2023-04-14 10:03:58,847 [INFO]: Lock /var/ansible-deployer/locks/ansible-data_inventories_XXX_hosts has been removed.
2023-04-14 10:03:58,856 [CRITICAL]: Program will exit now.
Example