enabled telegraf again and set failsave configuration
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
- block:
|
||||
- include_tasks: utilities/mail_transfer_agent.yml
|
||||
# - include_tasks: utilities/telegraf.yml
|
||||
- include_tasks: utilities/telegraf.yml
|
||||
when: ansible_distribution in ["Debian", "Ubuntu", "Linux Mint"]
|
||||
- include_tasks: utilities/netdata.yml
|
||||
when: netdata is defined and netdata == true
|
||||
|
||||
@@ -27,11 +27,10 @@
|
||||
|
||||
- name: server | telegraf | copy basic config
|
||||
copy:
|
||||
dest: "/etc/telegraf/{{ item }}"
|
||||
dest: "/etc/telegraf/telegraf.d/{{ item | basename }}"
|
||||
src: "{{ item }}"
|
||||
loop:
|
||||
- telegraf.d/input_basics.conf
|
||||
- telegraf.d/output_influx.conf
|
||||
with_fileglob:
|
||||
- "telegraf.d/*.conf"
|
||||
notify: restart_telegraf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user