Commit 99af482b authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

zabbix-agent: add switch for external repo since they package zabbix differently than debian

parent 36c91ece
......@@ -70,7 +70,12 @@ LogFileSize=0
#
# Mandatory: no
# Default:
{% if zabbix_version is version("5.0", ">=") %}
AllowKey=system.run[*]
{% else %}
EnableRemoteCommands=1
{% endif %}
### Option: LogRemoteCommands
# Enable logging of executed shell commands as warnings.
......@@ -262,7 +267,7 @@ Hostname={{ ansible_fqdn }}
# Default:
# Include=
{% if ansible_distribution_major_version is version("10", ">=") %}
{% if not zabbix_external_repo %}
Include=/etc/zabbix/zabbix_agentd.conf.d/*.conf
{% else %}
Include=/etc/zabbix/zabbix_agentd.d/*.conf
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment