This ansible role installs fluent agent in a Debian environment.
These instructions will get you a copy of the role for your Ansible playbook. Once launched, it will install a fluentd agent.
Ansible 2.2.1.0 version installed. Inventory destination should be a Debian environment.
For testing purposes, Molecule with Vagrant as driver (with landrush plugin) and VirtualBox as provider.
Create or add to your roles dependency file (e.g requirements.yml):
- src: https://github.com/form3tech-oss/fluentd-role
name: fluentd
version: <commit hash or branch name>
Install the role with ansible-galaxy command:
ansible-galaxy install -p roles -r requirements.yml -f
Use in a playbook:
- hosts: someserver
roles:
- role: fluentd