dj-wasabi / ansible-zabbix-web

Installing and maintaining zabbix-web for RedHat/Debian/Ubuntu.
https://galaxy.ansible.com/dj-wasabi/zabbix-web/
MIT License
25 stars 56 forks source link

Deal with unresolvable zabbix_server_hostname #65

Open kr4ut opened 5 years ago

kr4ut commented 5 years ago

Describe the bug If not specified and defaults hits zabbix_server_hostname will be inventory_hostname. This easily results into a non resolvable $ZBX_SERVER being configured in zabbix.conf.php: NonReachableServer

Installation method/version

Ansible Version

ansible 2.8.3

Targetted hosts Concerns the following OS(es):

Expected behavior For typical setup with zabbix-server and zabbix-web on the same box /etc/hosts shall be used.