update repos
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -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"
|
||||
Reference in New Issue
Block a user