Ansible-playbook report

Hi,

I use Ansible from 1 year ago, and I’m happy user. Now we want to monitoring our deploy, how many actions/changes/failures and report to our database/graphite/etc… I don’t know if possible any method into the playbook that we can get this. Can you help me?

Many thanks for your help.
Cheers.

Sorry, I posted in the wrong list :frowning:

Hi Eloy,

Someone in IRC pointed me this link which uses callback plugins to log events to datadog monitoring services. Maybe this could help
you or use it as a reference.

https://gist.github.com/alekstorm/6350729

Regards,
Benno

I use the logging callback plugin and awk/sed/perl the file for some stats, not very appealing to most. I would also check Tower, I believe they’ve built some nice reporting into it.

If Alex is around, a pull request to include the datadog plugin in the examples plugins directory would be interesting!

But yeah, definitely check Tower – it has some very nice graphical reports and history that are specifically tailored to ansible.