Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zabbix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
zabbix
Commits
073104b0
Commit
073104b0
authored
8 years ago
by
Robin Sonnabend
Browse files
Options
Downloads
Patches
Plain Diff
Use zabbix from debian in stretch
parent
dae3bb2d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
zabbix-repo/tasks/main.yml
+17
-4
17 additions, 4 deletions
zabbix-repo/tasks/main.yml
with
17 additions
and
4 deletions
zabbix-repo/tasks/main.yml
+
17
−
4
View file @
073104b0
...
...
@@ -15,8 +15,21 @@
-
name
:
ensure apt knows about the zabbix repo
apt_repository
:
repo={{ item }} state=present
with_items
:
-
'
deb
http://repo.zabbix.com/zabbix/3.0/debian
{{debian_version}}
main'
-
'
deb-src
http://repo.zabbix.com/zabbix/3.0/debian
{{debian_version}}
main'
-
'
deb
http://repo.zabbix.com/zabbix/3.0/debian
jessie
main'
-
'
deb-src
http://repo.zabbix.com/zabbix/3.0/debian
jessie
main'
when
:
debian_version == "jessie"
notify
:
-
update apt cache
tags
:
-
packages
-
repos
-
zabbix
-
name
:
ensure we use zabbix from debian
file
:
name
:
/etc/apt/sources.list.d/repo_zabbix_com_zabbix_3_0_debian.list
state
:
absent
when
:
debian_version == "stretch"
notify
:
-
update apt cache
tags
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment