Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 698 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 698 Bytes

Fluentd Ansible Role

Fluentd is an open source data collector for unified logging layer.

Installation

# requirments.yaml
- src: git@github.com:4lie/ansible-role-fluentd.git
  scm: git
  version: master
  name: fluentd

Role Variables

# 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 }

Example Playbook

- hosts: servers
  roles:
    - fluentd