Enable playbook logging via callback plugin

26 views
Skip to first unread message

ansibl...@gmail.com

unread,
Dec 19, 2017, 8:46:02 AM12/19/17
to Ansible Project
Hi,

I want to log playbook execution on per host basis. Have tried log_plays, it is helping but the logs output is not so good to read. Is it possible to get the output in human readable format or some other suggestions

Brian Coca

unread,
Dec 19, 2017, 10:25:51 AM12/19/17
to Ansible Project
You can create your own plugin to get the exact format you would like.
There are plenty of callbacks, but they normally meet the needs of the
creator.





--
----------
Brian Coca

Ansible Krazy

unread,
Dec 19, 2017, 11:58:59 AM12/19/17
to ansible...@googlegroups.com
Okay...

can someone please help me with the code to enable log rotation for log_plays module


--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/GH8w-4TJFi0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-project+unsubscribe@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/CACVha7dRenPxSOcX4bF2CCMLLwM%3DDar28GNVE%3DR2dKk9COu2pQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages