community / community.general / 3.8.10 / callback / syslog_json sends JSON events to syslog Authors: Unknown (!UNKNOWN)community.general.syslog_json (3.8.10) — callback
Install with ansible-galaxy collection install community.general:==3.8.10
collections: - name: community.general version: 3.8.10
This plugin logs ansible-playbook and ansible runs to a syslog server in JSON format
Before 2.9 only environment variables were available for configuration
port: default: 514 description: port on which the syslog server is listening env: - name: SYSLOG_PORT ini: - key: syslog_port section: callback_syslog_json server: default: localhost description: syslog server that will receive the event env: - name: SYSLOG_SERVER ini: - key: syslog_server section: callback_syslog_json facility: default: user description: syslog facility to log as env: - name: SYSLOG_FACILITY ini: - key: syslog_facility section: callback_syslog_json