community / community.general / 0.1.1 / callback / syslog_json sends JSON events to syslog Authors: unknowncommunity.general.syslog_json (0.1.1) — callback
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
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