Write hostname instead of fqdn

This commit is contained in:
Bastian Mäuser 2021-01-10 19:16:16 +01:00
parent 755c1c5af1
commit e7d3167f51

View File

@ -67,7 +67,7 @@
## Run telegraf in quiet mode ## Run telegraf in quiet mode
quiet = {{ telegraf_quiet }} quiet = {{ telegraf_quiet }}
hostname = "{{ ansible_fqdn }}" hostname = "{{ ansible_hostname }}"
## If set to true, do no set the "host" tag in the telegraf agent. ## If set to true, do no set the "host" tag in the telegraf agent.
omit_hostname = {{ telegraf_omit_hostname }} omit_hostname = {{ telegraf_omit_hostname }}