ansible-roles/roles/repo_zabbix/tasks/Debian.yml

21 lines
699 B
YAML
Raw Normal View History

2021-12-01 19:13:34 +01:00
---
2022-01-04 13:00:10 +01:00
2021-12-01 19:13:34 +01:00
- name: Add Zabbix repo key
apt_key:
2022-01-04 13:00:10 +01:00
data: "{{ lookup('url', 'https://repo.zabbix.com/zabbix-official-repo.key', split_lines=False) }}"
2021-12-01 19:13:34 +01:00
environment:
https_proxy: "{{ system_proxy | default('') }}"
2022-01-26 16:00:08 +01:00
tags: repo,zabbix
2021-12-01 19:13:34 +01:00
- name: Add Zabbix repo
apt_repository:
repo: deb http://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} main
filename: zabbix
2022-01-26 16:00:08 +01:00
tags: repo,zabbix
2022-11-22 11:00:11 +01:00
- name: Add Zabbix Agent2 plugins repo
apt_repository:
repo: deb http://repo.zabbix.com/zabbix-agent2-plugins/1/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} main
filename: zabbix
tags: repo,zabbix