Skip to content
Snippets Groups Projects
Commit f4b6799b authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

change zabbix version to 3.4

parent 865b89c7
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@
- name: ensure apt got the key to verify the zabbix repo
apt_key: data="{{lookup('file', 'zabbix.gpg')}}" state=present
when: debian_version == "jessie"
notify:
- update apt cache
tags:
......@@ -11,9 +10,11 @@
- repos
- zabbix
- name: ensure apt got the key to verify the zabbix repo
apt_key: data="{{lookup('file', 'zabbix.gpg')}}" state=absent
when: debian_version == "stretch"
- name: ensure apt knows about the zabbix repo
apt_repository: repo={{ item }} state=absent
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'
notify:
- update apt cache
tags:
......@@ -21,24 +22,12 @@
- repos
- zabbix
- 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 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"
- 'deb http://repo.zabbix.com/zabbix/3.4/debian {{ debian_version }} main'
- 'deb-src http://repo.zabbix.com/zabbix/3.4/debian {{debian_version }} main'
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