amaabca.loggly_tls
Role Name
This role configures the server to send log data from rsyslog to Loggly.
Requirements
Before you run this, you need to create an account at https://loggly.com and add your unique token to an Ansible vault.
Role Variables
Store the following in a vault file:
secrets:
loggly:
token: yourlogglytokenhere
Dependencies
This configuration is based on rsyslogd version 8.32.0.
Example Playbook
ansible-playbook tests/test.yml -i your_inventory_file
How to include this role:
- hosts: servers
roles:
- loggly_tls
Usage With Unicorn
By default, this playbook assumes you are using Unicorn as your application server. To disable this, set the loggly.refresh_unicorn
variable to false
.
Usage With Shoryuken
This playbook will also manage Shoryuken logs. To enable this feature, set the loggly.refresh_shoryuken
variable to true
.
License
MIT
Author Information
Installa
ansible-galaxy install amaabca.loggly_tls
Licenza
Unknown
Download
567
Proprietario