weareinteractive / ansible-newrelic

Ansible role which installs and configures New Relic Server Monitoring Daemon
MIT License
43 stars 28 forks source link

Update main.yml #20

Closed rquadling closed 6 years ago

rquadling commented 6 years ago

Remove the default hostname of "~" as the nrsysmond.cfg.j2 has

#
# Option : override_hostname
# Type   : string
# Value  : Set to a non-empty value to use as the hostname that will be reported to New Relic
# Default: none
#
#hostname=newrelic.com
{% if newrelic_override_hostname|default(None) != None %}
hostname={{ newrelic_override_hostname }}
{% endif %}
franklinkim commented 6 years ago

THX