Commit b5104ec5 authored by Lars Beckers's avatar Lars Beckers
Browse files

zabbix-repo: disable zabbix key when switching repos

parent 166d5f87
---
# this essentially does what zabbix-release does, but does not mitigate package signing
# TODO place file
# see: https://repo.zabbix.com/zabbix-official-repo.key
- 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:
- packages
- 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"
notify:
- update apt cache
tags:
......@@ -37,10 +46,10 @@
- repos
- zabbix
- meta: flush_handlers
- name: ensure chr's key is present
apt_key: data="{{lookup('file', 'chr.gpg')}}" state=present
notify:
- update apt cache
tags:
- packages
- repos
......@@ -59,3 +68,4 @@
- zabbix
- chr
- meta: flush_handlers
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