Fluentd is an open source data collector for unified logging layer.
# requirments.yaml
- src: git@github.com:4lie/ansible-role-fluentd.git
scm: git
version: master
name: fluentd
# Worker count
fluentd_worker_count: 1
# Paths to custom configuration templates
fluentd_custom_conf: []
# Fluentd plugins that you want to install
fluentd_plugins: []
# - { url: "https://raw.githubusercontent.com/emsearcy/fluent-plugin-gelf/master/lib/fluent/plugin/out_gelf.rb" }
# - { name: "fluent-plugin-secure-forward", 'version': 0.2.3 }
- hosts: servers
roles:
- fluentd