mirror of https://github.com/ansible/ansible.git
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.pull/57246/head
parent
fd95c7b506
commit
2ef7759be1
@ -0,0 +1,2 @@
|
|||||||
|
minor_changes:
|
||||||
|
- "syslog_json - Allow configuration of the syslog_json plugin via an Ansible configuration file."
|
Loading…
Reference in New Issue