/fluentd-role

Ansible role to install fluentd

Primary LanguageJinjaApache License 2.0Apache-2.0

Build Status

Fluentd Ansible role

This ansible role installs fluent agent in a Debian environment.

Getting Started

These instructions will get you a copy of the role for your Ansible playbook. Once launched, it will install a fluentd agent.

Prerequisities

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.

Installing

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

Original readme