community.general/lib/ansible/plugins/callback
Jimmy Tang 85277c8aae Initial add of logentries callback plugin
This callback plugin will generate json objects to be sent to the
logentries service for auditing/debugging purposes.

To use:

Add this to your ansible.cfg file in the defaults block

    [defaults]
    callback_plugins = ./callback_plugins
    callback_stdout = logentries
    callback_whitelist = logentries

Copy the callback plugin into the callback_plugings directory

Either set the environment variables

    export LOGENTRIES_API=data.logentries.com
    export LOGENTRIES_PORT=10000
    export LOGENTRIES_ANSIBLE_TOKEN=dd21fc88-f00a-43ff-b977-e3a4233c53af

Or create a logentries.ini config file that sites next to the plugin with the following contents

    [logentries]
    api = data.logentries.com
    port = 10000
    tls_port = 20000
    use_tls = no
    token = dd21fc88-f00a-43ff-b977-e3a4233c53af
2015-11-14 08:40:16 +00:00
..
__init__.py Finish up plugin porting to global display 2015-11-11 10:44:23 -08:00
context_demo.py Revert "make callbacks declare needing whitelisting" 2015-10-22 16:34:51 -04:00
default.py Save delegated vars in result for use in callback methods 2015-11-10 10:14:30 -05:00
hipchat.py Revert "make callbacks declare needing whitelisting" 2015-10-22 16:34:51 -04:00
log_plays.py Merge pull request #12867 from bcoca/callback_whitelist_tweak 2015-11-05 12:58:05 -05:00
logentries.py Initial add of logentries callback plugin 2015-11-14 08:40:16 +00:00
mail.py Revert "make callbacks declare needing whitelisting" 2015-10-22 16:34:51 -04:00
minimal.py Implement invocation hiding for all callbacks if the verbosity is low 2015-10-23 11:11:34 -07:00
oneline.py now it really is oneline 2015-07-26 23:14:07 -04:00
osx_say.py Revert "make callbacks declare needing whitelisting" 2015-10-22 16:34:51 -04:00
profile_tasks.py Revert "make callbacks declare needing whitelisting" 2015-10-22 16:34:51 -04:00
skippy.py show task path on 2 vs 2015-11-01 17:43:11 -05:00
syslog_json.py Revert "make callbacks declare needing whitelisting" 2015-10-22 16:34:51 -04:00
timer.py Merge pull request #12867 from bcoca/callback_whitelist_tweak 2015-11-05 12:58:05 -05:00
tree.py Revert "make callbacks declare needing whitelisting" 2015-10-22 16:34:51 -04:00