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
d9d6fd6d
Unverified
Commit
d9d6fd6d
authored
Dec 03, 2020
by
Robin Sonnabend
Browse files
Remove jessie reference
parent
8d8a615e
Pipeline
#2656
passed with stage
in 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
zabbix-repo/tasks/main.yml
View file @
d9d6fd6d
...
...
@@ -6,7 +6,7 @@
apt_key
:
data
:
"
{{
lookup('file',
'zabbix.gpg')
}}"
state
:
present
when
:
debian_version ==
"jessie" or debian_version ==
"stretch"
when
:
debian_version == "stretch"
notify
:
-
update apt cache
tags
:
...
...
@@ -32,7 +32,7 @@
apt_repository
:
repo
:
"
{{
item
}}"
# yamllint disable-line rule:line-length
state
:
'
{{
"present"
if
debian_version
==
"jessie"
or
debian_version
==
"stretch"
else
"absent"
}}'
state
:
'
{{
"present"
if
debian_version
==
"stretch"
else
"absent"
}}'
with_items
:
# yamllint disable-line rule:line-length
-
'
deb
http://repo.zabbix.com/zabbix/{{
zabbix_version
}}/debian
{{
debian_version
}}
main'
...
...
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