diff --git a/zabbix-agent/templates/zabbix_agentd.conf.j2 b/zabbix-agent/templates/zabbix_agentd.conf.j2
index 12400ddc4ea944c0ad45b9840faa259bce2c8f2d..c256784b0f7b2764f0714c2cc20069f395d99f21 100644
--- a/zabbix-agent/templates/zabbix_agentd.conf.j2
+++ b/zabbix-agent/templates/zabbix_agentd.conf.j2
@@ -20,7 +20,7 @@ PidFile=/var/run/zabbix/zabbix_agentd.pid
 #
 # Mandatory: no
 # Default:
-# LogType=file
+LogType=console
 
 ### Option: LogFile
 #	Log file name for LogType 'file' parameter.
@@ -29,7 +29,7 @@ PidFile=/var/run/zabbix/zabbix_agentd.pid
 # Default:
 # LogFile=
 
-LogFile=/var/log/zabbix/zabbix_agentd.log
+#LogFile=/var/log/zabbix/zabbix_agentd.log
 
 ### Option: LogFileSize
 #	Maximum size of log file in MB.
@@ -262,7 +262,11 @@ Hostname={{ ansible_fqdn }}
 # Default:
 # Include=
 
+{% if ansible_distribution_major_version is version("10", ">=") %}
+Include=/etc/zabbix/zabbix_agentd.conf.d/
+{% else %}
 Include=/etc/zabbix/zabbix_agentd.d/
+{% endif %}
 
 # Include=/usr/local/etc/zabbix_agentd.userparams.conf
 # Include=/usr/local/etc/zabbix_agentd.conf.d/