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
13c147f3
Commit
13c147f3
authored
Apr 28, 2019
by
Robin Sonnabend
Browse files
Install zabbix on buster from debian sources
parent
8c34b878
Changes
1
Hide whitespace changes
Inline
Side-by-side
zabbix-repo/tasks/main.yml
View file @
13c147f3
...
...
@@ -6,6 +6,7 @@
apt_key
:
data
:
"
{{lookup('file',
'zabbix.gpg')}}"
state
:
present
when
:
debian_version == "jessie" or debian_version == "stretch"
notify
:
-
update apt cache
tags
:
...
...
@@ -29,7 +30,7 @@
-
name
:
ensure apt knows about the current zabbix repo
apt_repository
:
repo
:
"
{{
item
}}"
state
:
present
state
:
'
{{"
present
"
if
debian_version
==
"jessie"
or
debian_version
==
"stretch"
else
"absent"}}'
with_items
:
-
'
deb
http://repo.zabbix.com/zabbix/{{zabbix_version}}/debian
{{
debian_version
}}
main'
# yamllint disable-line rule:line-length
...
...
Write
Preview
Supports
Markdown
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