chore: minor change

This commit is contained in:
Adrien Waksberg 2023-06-29 14:36:38 +02:00
parent a7168840b0
commit b865f21bcf
3 changed files with 5 additions and 5 deletions

View file

@ -9,11 +9,11 @@ telegraf_default_config:
collection_jitter: 0s
flush_interval: 10s
flush_jitter: 0s
precision: ''
hostname: ''
precision: ""
hostname: ""
omit_hostname: false
telegraf_config: {}
telegraf_full_config: '{{ telegraf_default_config|combine(telegraf_config) }}'
telegraf_full_config: "{{ telegraf_default_config|combine(telegraf_config) }}"
telegraf_inputs: {}
telegraf_outputs: {}
telegraf_proxy_ignore: []

View file

@ -6,7 +6,7 @@
vars:
telegraf_outputs:
file:
files: ['stdout', '/tmp/metrics.out']
files: ["stdout", "/tmp/metrics.out"]
telegraf_inputs:
cpu:
percpu: true

View file

@ -26,7 +26,7 @@
- name: add groups for telegraf user
ansible.builtin.user:
name: telegraf
groups: '{{ telegraf_user_groups }}'
groups: "{{ telegraf_user_groups }}"
notify: restart telegraf
tags: telegraf