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

21 lines
377 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:
files: ['stdout', '/tmp/metrics.out']
telegraf_inputs:
cpu:
percpu: true
totalcpu: true
collect_cpu_time: false
report_active: false
pre_tasks:
- name: update apt cache
apt:
update_cache: true