Add Variable required for Telegraf Role

This commit is contained in:
Bastian Mäuser 2021-01-10 19:11:09 +01:00
parent d4a9ccf43d
commit 879cfc0f40
2 changed files with 12 additions and 0 deletions

View File

@ -71,6 +71,17 @@ pve_targets:
- pve01.ffrgb
- pve02.ffrgb
telegraf_influxdb_url: stats.regensburg.freifunk.net:8086
telegraf_influxdb_database: wgstats
telegraf_influxdb_username: admin
telegraf_influxdb_password: "{{ vault_yanic_influx_pw }}"
telegraf_plugins_base:
- name: wireguard
options:
devices:
- "wg-{{ site_code }}"
site: ffrgb
site_domain: regensburg.freifunk.net

View File

@ -30,6 +30,7 @@
hosts: [gw31.regensburg.freifunk.net]
roles:
- mesh_wg
- telegraf
- name: Setup stats server
hosts: stats.regensburg.freifunk.net