ElaoInfra.influxdb

Ansible Role: elao.influxdb

This role will assume the setup of influxdb

It's part of the ELAO Ansible stack but can be used as a stand alone component.

Requirements

  • Ansible 1.7.2+

Dependencies

None.

Installation

Ansible 2

Not yet supported

Ansible 1

Using ansible galaxy cli:

ansible-galaxy install elao.influxdb,1.0

Using ansible galaxy requirements file:

- src:     elao.influxdb
  version: 1.0

Role Handlers

Name Type Description
influxdb restart Service Restart influxdb server

Role Variables

Name Default Type Description
elao_influxdb_version 0.10.0-1 string Version to install. Will not performs upgrade.
elao_influxdb_databases [] array Databases
elao_influxdb_users [] array Users
elao_influxdb_privileges [] array Privileges
elao_influxdb_config [] Array Config
elao_influxdb_config_file /etc/influxdb/influxdb.conf string Config dest
elao_influxdb_config_template config/base.conf.j2 string Config template

Configuration example

############
# InfluxDB #
############

elao_influxdb_databases:
  - my_db

elao_influxdb_users:
 - database: my_db
   name:     my_user
   password: my_password

elao_influxdb_privileges:
 - database: my_db
   user:     my_user
   grant:    ALL

elao_influxdb_config:
  - reporting-disabled: true
  # see: https://docs.influxdata.com/influxdb/v0.10/write_protocols/udp/
  - udp:
    - enabled: true
    - bind-address: :8089
    - database: stats
    - batch-size: 5000
    - batch-timeout: 1s
    - batch-pending: 10
    - read-buffer: 0

See InfluxDB documentation for more information about databases, users and privileges

Example playbook

- hosts: servers
  roles:
     - { role: elao.influxdb }

Licence

MIT

Author information

ELAO (http://www.elao.com/)

About

Influxdb role

Install
ansible-galaxy install ElaoInfra.influxdb
GitHub repository
License
Unknown
Downloads
188
Owner
All of those roles aren't maintained anymore and we strongly encourage you to switch to our new (maintained and tested) Ansible stack: https://github.com/manala