Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
zabbix
Commits
99af482b
Commit
99af482b
authored
Dec 03, 2020
by
Hinrikus Wolf
Browse files
zabbix-agent: add switch for external repo since they package zabbix differently than debian
parent
36c91ece
Changes
1
Hide whitespace changes
Inline
Side-by-side
zabbix-agent/templates/zabbix_agentd.conf.j2
View file @
99af482b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment