env-ansible/tasks/server/telegraf.yml

9 lines
275 B
YAML

---
# Application that populates InfluxDB with metric data.
- shell: "{{ item }}"
args:
chdir: "{{ ansible_env.HOME }}/Downloads/"
loop:
- wget https://dl.influxdata.com/telegraf/releases/telegraf_1.17.3-1_amd64.deb
- sudo dpkg -i telegraf_1.17.3-1_amd64.deb