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
|
collection_jitter: 0s
|
||||||
flush_interval: 10s
|
flush_interval: 10s
|
||||||
flush_jitter: 0s
|
flush_jitter: 0s
|
||||||
precision: ''
|
precision: ""
|
||||||
hostname: ''
|
hostname: ""
|
||||||
omit_hostname: false
|
omit_hostname: false
|
||||||
telegraf_config: {}
|
telegraf_config: {}
|
||||||
telegraf_full_config: '{{ telegraf_default_config|combine(telegraf_config) }}'
|
telegraf_full_config: "{{ telegraf_default_config|combine(telegraf_config) }}"
|
||||||
telegraf_inputs: {}
|
telegraf_inputs: {}
|
||||||
telegraf_outputs: {}
|
telegraf_outputs: {}
|
||||||
telegraf_proxy_ignore: []
|
telegraf_proxy_ignore: []
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
vars:
|
vars:
|
||||||
telegraf_outputs:
|
telegraf_outputs:
|
||||||
file:
|
file:
|
||||||
files: ['stdout', '/tmp/metrics.out']
|
files: ["stdout", "/tmp/metrics.out"]
|
||||||
telegraf_inputs:
|
telegraf_inputs:
|
||||||
cpu:
|
cpu:
|
||||||
percpu: true
|
percpu: true
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
- name: add groups for telegraf user
|
- name: add groups for telegraf user
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: telegraf
|
name: telegraf
|
||||||
groups: '{{ telegraf_user_groups }}'
|
groups: "{{ telegraf_user_groups }}"
|
||||||
notify: restart telegraf
|
notify: restart telegraf
|
||||||
tags: telegraf
|
tags: telegraf
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue