Role for configuring papertrail service. Currently only rsyslog is supported and confirmed to be working on Debian like systems
- Rsyslogd should already be installed.
papertrail_destinationshould be configured
papertrail_destination: Papertrail Destination host:port i.e. logs1234.papertrailapp.com:1234papertrail_enable_tcp: Enable TCP connection. Default: Falsepapertrail_enable_tls:: Enable TLS. Only works with TCP. Default: Truepapertrail_loglevel: loglevel. Default: *.*papertrail_hostname: Hostname to send logs from. Default: System hostname
papertrail_EscapeControlCharactersOnReceive. Default (string): 'on'
- hosts: servers
roles:
- { role: alekseyp.papertrail, papertrail_destination: logs1234.papertrailapp.com:1234}
Add support for
- syslog
- syslog-ng
- other OSs
MIT
Aleksey Potaneyko
Mediahub