Galaxy role to install Telegraf with basic config on Debian
Find a file
2022-06-01 20:34:48 +02:00
defaults Update telegraf to use influx2 2022-06-01 20:34:48 +02:00
handlers Fix: Harmonize files by adding new line if nedded 2020-04-03 11:32:49 +02:00
meta Update telegraf to use influx2 2022-06-01 20:34:48 +02:00
tasks Update telegraf to use influx2 2022-06-01 20:34:48 +02:00
templates Update telegraf to use influx2 2022-06-01 20:34:48 +02:00
tests Fix: Harmonize files by adding new line if nedded 2020-04-03 11:32:49 +02:00
vars Fix: Harmonize files by adding new line if nedded 2020-04-03 11:32:49 +02:00
LICENSE Move LICENSE file 2019-07-25 20:32:39 +02:00
README.md Remove useless sentence in README example 2020-07-02 10:03:54 +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

- 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