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
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
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
grafana_annotations.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
hipchat.py
jabber.py
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
mail.py use ansible json encoder for results in callbacks (#46830) 2018-10-12 09:37:56 -04:00
minimal.py
nrdp.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
null.py
oneline.py
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
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
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
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
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