2020-03-08 15:41:55 +00:00
|
|
|
---
|
|
|
|
# Server/Telegraf: Install and Setup Telegraf Monitoring - CentOS Version
|
|
|
|
|
|
|
|
- name: telegraf - Add telegraf repo
|
|
|
|
become: yes
|
|
|
|
yum_repository:
|
|
|
|
name: influxdb
|
2020-03-08 16:56:50 +00:00
|
|
|
description: InfluxDB Repository
|
|
|
|
baseurl: https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable
|
2020-03-08 15:41:55 +00:00
|
|
|
enabled: yes
|
|
|
|
gpgcheck: yes
|
2020-03-08 16:56:50 +00:00
|
|
|
gpgkey: https://repos.influxdata.com/influxdb.key
|
2020-03-08 15:41:55 +00:00
|
|
|
- name: telegraf - Install telegraf
|
|
|
|
become: yes
|
|
|
|
yum:
|
|
|
|
name: telegraf
|
|
|
|
state: latest
|
|
|
|
update_cache: yes
|