Galaxy role to install Telegraf with basic config on Debian
defaults | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
tests | ||
vars | ||
LICENSE | ||
README.md |
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