mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
Zabbix: populate Zabbix interface with DNS name
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user