Is there any way, during the execution of a playbook, to access the current failure count? The final failure count is displayed in the PLAY RECAP section of the log output:
xxx.xx.xx.xxx : ok=37 changed=1 unreachable=0 failed=3 Before the playbook completes, I want to check the failure count and send an alert if n > 1. Thanks, Mike -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b13c2ee0-117c-4695-a887-fc4d2c9456eb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
