You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/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
10 years ago
..
__init__.py Finish up plugin porting to global display 10 years ago
context_demo.py Revert "make callbacks declare needing whitelisting" 10 years ago
default.py Save delegated vars in result for use in callback methods 10 years ago
hipchat.py Revert "make callbacks declare needing whitelisting" 10 years ago
log_plays.py Merge pull request #12867 from bcoca/callback_whitelist_tweak 10 years ago
logentries.py Initial add of logentries callback plugin 10 years ago
mail.py Revert "make callbacks declare needing whitelisting" 10 years ago
minimal.py Implement invocation hiding for all callbacks if the verbosity is low 10 years ago
oneline.py now it really is oneline 11 years ago
osx_say.py Revert "make callbacks declare needing whitelisting" 10 years ago
profile_tasks.py Revert "make callbacks declare needing whitelisting" 10 years ago
skippy.py show task path on 2 vs 10 years ago
syslog_json.py Revert "make callbacks declare needing whitelisting" 10 years ago
timer.py Merge pull request #12867 from bcoca/callback_whitelist_tweak 10 years ago
tree.py Revert "make callbacks declare needing whitelisting" 10 years ago