diff --git a/Creation Host Zabbix.yml b/Creation Host Zabbix.yml index b18b313..28b1a06 100644 --- a/Creation Host Zabbix.yml +++ b/Creation Host Zabbix.yml @@ -12,7 +12,7 @@ tasks: - name: Create Zabbix host community.zabbix.zabbix_host: - host_name: "{{ inventory_hostname }}" + host_name: "{{ zabbix_host_name }}" host_groups: "{{ zabbix_agent_groups }}" link_templates: "{{ zabbix_agent_link_templates }}" status: enabled