Papertrail can utilize rsyslog and it's go utility remote_syslog2. This role configures and deploys all the neccessary bits to utilize Papertrail on EL6/7, Debian 8, and Ubuntu 16.04 systems
rsyslog is an obvious requirement that should be installed
papertrail_version is the version number of the remote_syslog tool you wish to use. papertrail_files is an array of absolute paths to logs you want remote_syslog to send to the Papertrail service papertrail_host is the hostname provided by Papertrail for your use papertrail_port is the port number provided by Papertrail for your use
N/A
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- papertrail
MIT
Chris Short https://chrisshort.net