Thanks Michael,
I already worked with plugins but have totally overlooked the callback
plugins. This rises followup question on my end but I will start a separate
topic on that.
Thanks,
Daniel
Am Donnerstag, 24. Juli 2014 13:07:48 UTC+2 schrieb Michael DeHaan:
The answer to accessing events
Hello,
I'd like to send a summary of the run (basically the play recap which is
shown after playbook execution on the command line) to a hipchat room.
PLAY RECAP
host1: ok=8changed=0unreachable=0failed=0
The answer to accessing events programmatically is a callback plugin, and
Matt Martz from Rackspace contributed one exactly for hipchat.
https://github.com/ansible/ansible/blob/devel/plugins/callbacks/hipchat.py
See the docs about callback plugins, but basically you just need to have
this stored