forked from FF-RGB/ansible
Write hostname instead of fqdn
This commit is contained in:
parent
755c1c5af1
commit
e7d3167f51
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user