Use hostname rather than fqdn

This commit is contained in:
Jake Howard
2021-03-04 16:06:43 +00:00
parent a4eb26b129
commit 2e05ed08fa
5 changed files with 9 additions and 9 deletions

View File

@ -75,7 +75,7 @@
# logfile_rotation_max_archives = 5
## Override default hostname, if empty use os.Hostname()
hostname = "{{ ansible_fqdn }}"
hostname = "{{ ansible_hostname }}"
## If set to true, do no set the "host" tag in the telegraf agent.
omit_hostname = false