Galaxy role to install Telegraf with basic config on Debian
Find a file
2019-07-25 20:32:39 +02:00
defaults Bootstrap telegraf role 2019-07-10 17:10:35 +02:00
handlers Bootstrap telegraf role 2019-07-10 17:10:35 +02:00
meta Bootstrap telegraf role 2019-07-10 17:10:35 +02:00
tasks Bootstrap telegraf role 2019-07-10 17:10:35 +02:00
templates Bootstrap telegraf role 2019-07-10 17:10:35 +02:00
tests Bootstrap telegraf role 2019-07-10 17:10:35 +02:00
vars Bootstrap telegraf role 2019-07-10 17:10:35 +02:00
LICENSE Move LICENSE file 2019-07-25 20:32:39 +02:00
README.md Bootstrap telegraf role 2019-07-10 17:10:35 +02:00

galaxy-telegraf

Install Telegraf on Debian

Requirements

An InfluxDB service up and running

Role Variables

  • db_name: influx db name

  • db_user: influx db username

  • db_pass: influx db password

  • influx_host: influx host

  • influx_port: influx db port

  • influx_host: influx db host

Dependencies

None

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - role: galaxy-telegraf

Run tests

Needs galaxy-vagrant to run tests

Ensure galaxy-vagrant is up

ansible-playbook -i tests/inventory tests/test.yml