Commit 8d8a615e authored by Thomas Schneider's avatar Thomas Schneider
Browse files

zabbix-repo: Configure correct URL for Ubuntu

parent df8a265b
Pipeline #2071 passed with stage
in 49 seconds
......@@ -40,6 +40,25 @@
- 'deb-src http://repo.zabbix.com/zabbix/{{ zabbix_version }}/debian {{ debian_version }} main'
notify:
- update apt cache
when:
- ansible_distribution == "Debian"
tags:
- repos
- zabbix
- name: ensure apt knows about the current zabbix repo (Ubuntu)
apt_repository:
repo: "{{ item }}"
state: present
with_items:
# yamllint disable-line rule:line-length
- 'deb http://repo.zabbix.com/zabbix/{{ zabbix_version }}/ubuntu {{ ansible_distribution_release }} main'
# yamllint disable-line rule:line-length
- 'deb-src http://repo.zabbix.com/zabbix/{{ zabbix_version }}/ubuntu {{ ansible_distribution_release }} main'
notify:
- update apt cache
when:
- ansible_distribution == "Ubuntu"
tags:
- repos
- zabbix
......
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