Commit 13c147f3 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Install zabbix on buster from debian sources

parent 8c34b878
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment