Skip to content

4lie/ansible-role-fluentd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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