I've got an interesting case: playbook is failing on certain hosts either 
due to SSH connection issues or because some things are not installed.

I realize that I should really just write a playbook that makes all my 
machines "compliant" with the playbook and then re-run it. However I am 
curious whether there is a way to do a "group_by" or something similar to 
pick up all the "failed" hosts, group them by cause and then run some 
actions against them: be it an addition of a record to DB indicating above 
failure or attempt at resolving an underlying problem. 

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ac853ed6-e63e-4789-ba63-181a376e2452%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to