ansible / ansible.builtin / v2.9.27 / callback / syslog_json sends JSON events to syslog | "added in version" 1.9 of ansible.builtin" Authors: unknownansible.builtin.syslog_json (v2.9.27) — callback
pip
Install with pip install ansible==2.9.27
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