Skip to content
Snippets Groups Projects
Commit 073104b0 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Use zabbix from debian in stretch

parent dae3bb2d
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment