Use hostname rather than fqdn
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user