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

Install zabbix on buster from debian sources

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