This ansible role installs the td-agent, the distribution of fluentd.
This role is written based on the official installation page
This role requires Ansible 1.4 higher and platforms listed in the metadata file.
The variables that can be passed to this role when the OS is Debian and a brief description about them are as follows
# The version of td-agent (optional)
td_agent_version: 1.1.18-1
# Architecture of the machine (required, i386 or amd64)
td_agent_architecture: amd64
You can also pass in a list of plugins to be installed using tg-agent-gem as follows:
td_agent_plugins:
- 'fluent-plugin-secure-forward'
- 'fluent-plugin-...'
Detail for the official intallation page
-
Ubuntu or EL
- hosts: all
roles:
- td-agent
- hosts: all
roles:
-
Debian (define only architecture)
- hosts: all
roles:
- role: td-agent td_agent_architecture: i386
- hosts: all
roles:
-
Debian (define architecture and td_agent_version)
- hosts: all
roles:
- role: td-agent td_agent_architecture: amd64 td_agent_version: 1.1.17-1
- hosts: all
roles:
None
BSD
Fork and make pull request!
kawasakitoshiya / ansible-td-agent
Toshiya Kawasaki