ansible-role-telegraf/molecule/default/converge.yml

22 lines
423 B
YAML
Raw Normal View History

2021-08-20 07:33:22 +00:00
---
- name: Converge
hosts: all
roles:
- ansible-role-telegraf
vars:
telegraf_outputs:
file:
2023-06-29 12:36:38 +00:00
files: ["stdout", "/tmp/metrics.out"]
2021-08-20 07:33:22 +00:00
telegraf_inputs:
cpu:
percpu: true
totalcpu: true
collect_cpu_time: false
report_active: false
2022-04-04 14:43:16 +00:00
telegraf_proxy_url: http://127.0.0.1:3128
2021-08-20 07:33:22 +00:00
pre_tasks:
- name: update apt cache
apt:
update_cache: true