diff --git a/zabbix-agent/templates/zabbix_agentd.conf.j2 b/zabbix-agent/templates/zabbix_agentd.conf.j2 index c256784b0f7b2764f0714c2cc20069f395d99f21..dd866ddb443cbae45e6b388b7221f0cb071369d8 100644 --- a/zabbix-agent/templates/zabbix_agentd.conf.j2 +++ b/zabbix-agent/templates/zabbix_agentd.conf.j2 @@ -263,9 +263,9 @@ Hostname={{ ansible_fqdn }} # Include= {% if ansible_distribution_major_version is version("10", ">=") %} -Include=/etc/zabbix/zabbix_agentd.conf.d/ +Include=/etc/zabbix/zabbix_agentd.conf.d/*.conf {% else %} -Include=/etc/zabbix/zabbix_agentd.d/ +Include=/etc/zabbix/zabbix_agentd.d/*.conf {% endif %} # Include=/usr/local/etc/zabbix_agentd.userparams.conf