Skip to content
Snippets Groups Projects
Commit 8d8a615e authored by Thomas Schneider's avatar Thomas Schneider
Browse files

zabbix-repo: Configure correct URL for Ubuntu

parent df8a265b
No related branches found
No related tags found
No related merge requests found
Pipeline #2071 passed
...@@ -40,6 +40,25 @@ ...@@ -40,6 +40,25 @@
- 'deb-src http://repo.zabbix.com/zabbix/{{ zabbix_version }}/debian {{ debian_version }} main' - 'deb-src http://repo.zabbix.com/zabbix/{{ zabbix_version }}/debian {{ debian_version }} main'
notify: notify:
- update apt cache - 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: tags:
- repos - repos
- zabbix - zabbix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment