Hi All, I'm using plugin described here <http://blog.cliffano.com/2014/04/06/human-readable-ansible-playbook-log-output-using-callback-plugin/> to display pretty printed output. It is working very well on successful execution. However on failure ansible also displays json with keys "stdout", "stderr" duplicating my output. Json is quite big and unreadable as I log hundreds lines in some places.
Is there a way to "mask" keys from json output presented when ansible fails? I would like to have a dict with something like replaced stderr="Already printed". I've tried to modify dictionary in callback plugin but it doesn't take effect. Is any good example on github <https://github.com/ansible/ansible/tree/devel/lib/ansible/plugins>? I'm using Ansible 2.0.0.1. 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 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/b678185e-f66c-4155-b90e-157b577f860d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.