alekseyp.papertrail
Ansible Papertrail Role
Role for configuring papertrail service. Currently only rsyslog is supported and confirmed to be working on Debian like systems
Requirements
- Rsyslogd should already be installed.
papertrail_destinationshould be configured
Role Variables
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
Rsyslog Defaults
papertrail_EscapeControlCharactersOnReceive. Default (string): 'on'
Example Playbook
- hosts: servers
roles:
- { role: alekseyp.papertrail, papertrail_destination: logs1234.papertrailapp.com:1234}
TODO
Add support for
- syslog
- syslog-ng
- other OSs
License
MIT
Author Information
Aleksey Potaneyko
Mediahub
Install
ansible-galaxy install alekseyp.papertrailLicense
Unknown
Downloads
6.1k
Owner
