Skip to content

KuraudoTama/ansible-plugins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ansible-plugins

ansible_logger_plugin.py is used for recording log data from ansible execution. The log data files are kept under /var/log/ansible/hosts/ folder. In each file, the data format is: <time> - <node IP> - <ansible_task_name> - <task OK/Failed status> - <task duration> - <module data>

Before using this plugin, please configure it into /etc/ansible.cfg like this:

  1. Uncomment "callback_plugins = /usr/share/ansible_plugins/callback_plugins"
  2. Put this ansible_logger_plugin.py under "/usr/share/ansible_plugins/callback_plugins"

After running ansible, you would find log files under /var/log/ansible/hosts/, the number of files depends on how many nodes your ansible would deploy to.

About

Ansible plugins to be configured in the ansible.cfg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%