update repos

This commit is contained in:
2021-04-14 17:48:16 +02:00
parent 3b48d6481a
commit 0410707a81
8 changed files with 36 additions and 13 deletions
+7 -4
View File
@@ -25,12 +25,15 @@
enabled: yes
state: started
- name: copy telegraf config
copy:
src: telegraf.conf
- name: create telegraf config from template
template:
src: telegraf.conf.j2
dest: /etc/telegraf/telegraf.conf
mode: '0644'
notify: Restart telegraf
- name: fix permission of /etc/logrotate.d/influxdb
file:
path: /etc/logrotate.d/influxdb
mode: 0644
@@ -26,6 +26,6 @@
# Configuration for sending metrics to InfluxDB 2.0
[[outputs.influxdb_v2]]
urls = ["http://127.0.0.1:8086"]
token = "PWuleFEPB2YSduUkzkcW94V_-KFDK5Fi3MAeaA999Qe51OsGlJJSrcZ41pUAppCwF-z3rUNnyFQQJs8fCSTFzg=="
token = "{{ influx_token }}"
organization = "wobischorg"
bucket = "wobischbucket"