Zabbix: populate Zabbix interface with DNS name

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
Greg Sutcliffe
2025-11-03 11:39:00 +00:00
parent dfa81f400a
commit 6cde265221

View File

@@ -4,7 +4,7 @@
# - Minimal Hosts
# - Linux Hosts
# Also physical hardware should be added to the management-monitoring group
# = MGMT Hosts
# - MGMT Hosts
- name: API Block
vars:
@@ -26,6 +26,11 @@
host_name: "{{ inventory_hostname }}"
host_groups: "{{ zabbix_base_hostgroups }}"
link_templates: "{{ zabbix_base_templates }}"
interfaces:
- type: agent
main: 1
useip: 0
dns: "{{ inventory_hostname }}"
status: enabled
state: present
force: false