chore: minor change
This commit is contained in:
parent
a7168840b0
commit
b865f21bcf
3 changed files with 5 additions and 5 deletions
|
@ -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: []
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
vars:
|
||||
telegraf_outputs:
|
||||
file:
|
||||
files: ['stdout', '/tmp/metrics.out']
|
||||
files: ["stdout", "/tmp/metrics.out"]
|
||||
telegraf_inputs:
|
||||
cpu:
|
||||
percpu: true
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue