chore: Remove telegraf
Replaced by Prometheus and Prometheus exporters. Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
55ea541cbe
commit
ba11dcabb1
6 changed files with 0 additions and 164 deletions
|
@ -1,34 +0,0 @@
|
|||
---
|
||||
- name: Configure telegraf repository
|
||||
ansible.builtin.template:
|
||||
src: telegraf/influxdata.list.j2
|
||||
dest: /etc/apt/sources.list.d/influxdata.list
|
||||
mode: '0644'
|
||||
|
||||
- name: Download influxdata APT key
|
||||
ansible.builtin.apt_key:
|
||||
url: https://repos.influxdata.com/influxdata-archive_compat.key
|
||||
state: present
|
||||
|
||||
- name: Install telegraf and dependencies
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- telegraf
|
||||
- lm-sensors
|
||||
update_cache: true
|
||||
|
||||
- name: Generate telegraf configurations
|
||||
ansible.builtin.template:
|
||||
src: "telegraf/{{ item }}.conf.j2"
|
||||
dest: "/etc/telegraf/telegraf.d/{{ item }}.conf"
|
||||
mode: '0640'
|
||||
owner: root
|
||||
group: telegraf
|
||||
loop:
|
||||
- inputs
|
||||
- output
|
||||
|
||||
- name: Restart telegraf service
|
||||
ansible.builtin.service:
|
||||
name: telegraf
|
||||
state: restarted
|
Loading…
Add table
Add a link
Reference in a new issue