I have roles in the playbook.
---
- hosts: platform_windows
gather_facts: yes
roles:
- role: xx
- role: xx
I have a dynamic inventory of hosts. *How do I get a list of failed
instances?*
For e.g. the one with failed=1 state
10.x.x.x : ok=37 changed=2 unreachable=0 failed=1 skipped=0 rescued=0
172.x.x.x : ok=37 changed=2 unreachable=0 failed=1 skipped=0 rescued=0
The task/playbook output should be
10.x.x.x
172.x.x.x
Also, where should I add the task/playbook
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1839a683-e7d9-450f-8a8d-f102e502cf5dn%40googlegroups.com.