ansible simplified logfile?

14 views
Skip to first unread message

Pablo Escobar

unread,
Nov 21, 2014, 11:02:49 AM11/21/14
to ansible...@googlegroups.com
Hi

I would like to get an ansible simplied log file in the ansible master machine with this format and no further details. 

DATE | HOST | PATH TO APPLIED PLAYBOOK

Ideally I would like to keep another copy of the same log file in the client machine where the playbook is executed.

I think the right approach would be to use a callback like this https://github.com/ansible/ansible/blob/devel/plugins/callbacks/log_plays.py but that example gives too verbose output for my needs.

Is there any published callback doing this simplified logging? or could anyone point me to the right documentation to be able to modify log_plays.py callback example to fit my needs?

thanks in advance for your help
Pablo.
Reply all
Reply to author
Forward
0 new messages