community.general/lib/ansible/plugins
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
..
action Not native, but text (#55676) 2019-05-24 14:49:04 -04:00
become Keep machinectl from parsing options of cmd (#56572) 2019-05-23 16:01:40 -04:00
cache Fix inventory cache interface (#50446) 2019-03-06 12:12:35 -06:00
callback Allow syslog_json callback options to be set in an Ansible configurat… (#57232) 2019-05-31 14:29:15 -04:00
cliconf Added the 'show commit config diff' output available from the IOSXR device (#54875) 2019-05-27 17:30:14 +05:30
connection Plugin paths need to be sent in exectutor, too (#57126) 2019-05-31 11:44:42 -04:00
doc_fragments Handle openstacksdk < 0.10.0: fix AttributeError (#50285) 2019-05-24 10:27:47 -05:00
filter Add seed parameter to random_mac filter (#51841) 2019-05-16 13:41:08 -04:00
httpapi eos_config: Fix test issues (#56180) 2019-05-09 18:02:24 +05:30
inventory Return results even when the cache is disabled (#55505) 2019-05-28 13:44:00 -04:00
lookup Make query with errors='ignore' return a blank list (#57038) 2019-05-29 13:23:02 -04:00
netconf Move missing library abort to use rather than import for netconf (#55384) 2019-04-23 09:19:47 -04:00
shell removed previouslly deprecated settings (#55662) 2019-05-15 16:36:30 -04:00
strategy Be sure to use the active state when checking for any_errors_fatal (#55779) 2019-04-26 10:31:30 -05:00
terminal add terminal initial prompt for initial connection (#57057) 2019-05-29 12:37:13 -04:00
test Simplify regex filter code (#50202) 2019-02-03 15:10:16 -05:00
vars Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
__init__.py Misc typo fixes (#53284) 2019-03-04 15:30:18 -05:00
loader.py Not native, but text (#55676) 2019-05-24 14:49:04 -04:00