diff --git a/roles/zabbix/zabbix_agent/tasks/hosts.yml b/roles/zabbix/zabbix_agent/tasks/hosts.yml index 087d465a4b..2dbee5ec55 100644 --- a/roles/zabbix/zabbix_agent/tasks/hosts.yml +++ b/roles/zabbix/zabbix_agent/tasks/hosts.yml @@ -52,7 +52,6 @@ # *any* template, since unused macros will be ignored anyway. - name: Set Host-level macros - delegate_to: "{{ zabbix_server }}" loop: "{{ lookup('dict', zabbix_macros, wantlist=True) }}" community.zabbix.zabbix_hostmacro: host_name: "{{ inventory_hostname }}"