Is it possible to capture an error code (success/failure) at the level of an ansible *role* and not each individual task?
We have a rather complex ansible playbook with multiple roles and would like to be able to log (*on the remote*) the success/failure of each role. For example, the playbook has five roles. Each playbook role can be individually called using command line options (-e). If two roles are called in the playbook and the second role fails, can the error codes be captured for each of the two roles and written to a file on the remote server (not just in the ansible log file). eg. Role 1 shows success, role two shows failure. Thanks -- 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/2689e54a-3014-4a97-9477-752572511685%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
