You use ansible_fqdn in defaults/main.yml. It gives me the wrong value in zabbix config.
zabbix_agent_hostname: "{{ ansible_fqdn }}"
On Debian Linux with installed JitsiMeet conference I had to change /etc/hosts as part of configuring Jitsi. And it seems to me that fqdn was taken from that file. But I want to use name from hostname -f command in Zabbix. So I think I should change ansible_fqdn to ansible_hostname. Could you expain what is the difference?
Server named changed for security reason
Describe the bug
You use ansible_fqdn in defaults/main.yml. It gives me the wrong value in zabbix config.
On Debian Linux with installed JitsiMeet conference I had to change /etc/hosts as part of configuring Jitsi. And it seems to me that fqdn was taken from that file. But I want to use name from
hostname -f
command in Zabbix. So I think I should change ansible_fqdn to ansible_hostname. Could you expain what is the difference?Extract from setup module:
Extract from other Linux machine. ansible_fqdn and ansible_hostname are the same.