community.general/lib/ansible/plugins/callback
Paddy Newman 2ef7759be1 Allow syslog_json callback options to be set in an Ansible configurat… (#57232)
* Allow syslog_json callback options to be set in an Ansible configuration file.

The syslog_json documentation says that it supports options via an Ansible
configuration file. In fact, they can only be specified via environment
variables.

I've updated the module to use the standard "get_options" handling which means
that it can now support options via environment variables *or* the
configuration file.

Options can be set in the configuration file as follows:

```
callback_whitelist = syslog_json

[callback_syslog_json]
syslog_server = localhost
syslog_port = 514
syslog_facility = user
```

* Use the original, documented, names for the modules options.

In the documentation text change syslog_server to server, syslog_port to port
and syslog_facility to facility.

* Add an item to the changelog.

* Update 57232-syslog-json-configuration-options.yml

Fix a YAML syntax error / typo.
2019-05-31 14:29:15 -04:00
..
__init__.py fixes for stripping (#52930) 2019-03-12 18:18:38 -04:00
actionable.py use ANSIBLE_ prefix on all ansible-defined env vars (#54272) 2019-03-26 17:43:48 -04:00
aws_resource_actions.py parse botocore.endpoint logs into a list of AWS actions (#49312) 2019-03-18 08:29:03 -05:00
cgroup_memory_recap.py Add cgroup_memory_recap callback plugin used to profile memory (#38675) 2018-04-23 14:54:36 -05:00
cgroup_perf_recap.py When not using file_per_task, make sure we don't prematurely close the perf files (#56477) 2019-05-16 15:38:36 -05:00
context_demo.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
counter_enabled.py Misc typo fixes (#53284) 2019-03-04 15:30:18 -05:00
debug.py Update debug.py (#51041) 2019-01-21 15:08:26 +05:30
default.py add option to display per host start to default (#53819) 2019-04-12 12:42:38 -04:00
dense.py Add stats on rescued/ignored tasks (#48418) 2019-02-20 13:00:47 +10:00
foreman.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
full_skip.py Merge various stdout callback plugins into 'default' (#41058) 2018-06-24 23:00:07 -05:00
grafana_annotations.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
hipchat.py plugins/callbacks : fix some key documentation (#45267) 2018-09-06 15:38:25 -04:00
jabber.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
json.py use ansible json encoder for results in callbacks (#46830) 2018-10-12 09:37:56 -04:00
junit.py Implement test case prefix to filter test cases (#40174) 2018-12-03 18:41:44 +00:00
log_plays.py added missing version_added 2019-05-22 17:04:36 -04:00
logdna.py Ensure that current uses of BaseException are required 2018-12-16 15:03:19 -08:00
logentries.py Do not use str() on exceptions (#46950) 2018-11-09 07:59:30 +01:00
logstash.py Updated documentation description (#34121) 2017-12-21 13:44:54 +10:00
mail.py use ansible json encoder for results in callbacks (#46830) 2018-10-12 09:37:56 -04:00
minimal.py minimal callback doesn't properly respect changed, bring into alignment with oneline (#41273) 2018-06-07 18:10:26 -04:00
nrdp.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
null.py Add plugins to ansible-doc test and fix issues. 2018-05-23 13:10:09 -07:00
oneline.py show changed in online 2018-04-10 17:25:24 -04:00
osx_say.py osx_say callback plugin: add espeak support, rename to say (#33740) 2019-02-26 09:46:35 -06:00
profile_roles.py Convert more http links to https. 2018-04-25 23:12:46 -07:00
profile_tasks.py profile_tasks: Fix last task time with multiple plays (#53065) 2019-03-01 10:29:33 -05:00
say.py osx_say callback plugin: add espeak support, rename to say (#33740) 2019-02-26 09:46:35 -06:00
selective.py Add stats on rescued/ignored tasks (#48418) 2019-02-20 13:00:47 +10:00
skippy.py Merge various stdout callback plugins into 'default' (#41058) 2018-06-24 23:00:07 -05:00
slack.py Add stats on rescued/ignored tasks (#48418) 2019-02-20 13:00:47 +10:00
splunk.py use ansible json encoder for results in callbacks (#46830) 2018-10-12 09:37:56 -04:00
stderr.py Merge various stdout callback plugins into 'default' (#41058) 2018-06-24 23:00:07 -05:00
sumologic.py use ansible json encoder for results in callbacks (#46830) 2018-10-12 09:37:56 -04:00
syslog_json.py Allow syslog_json callback options to be set in an Ansible configurat… (#57232) 2019-05-31 14:29:15 -04:00
timer.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
tree.py Do not use str() on exceptions (#46950) 2018-11-09 07:59:30 +01:00
unixy.py Unixy stdout callback: Display name of play and list of play hosts, don't display play name if no hosts in play (#32810) 2019-02-25 11:57:29 -05:00
yaml.py fixes for stripping (#52930) 2019-03-12 18:18:38 -04:00