mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-19 06:48:17 +02:00
Update to 2025-08-18 10:00
This commit is contained in:
@@ -9,18 +9,16 @@
|
||||
tags: repo,zabbix
|
||||
|
||||
- name: Add Zabbix repo key
|
||||
apt_key:
|
||||
url: "{{ item }}"
|
||||
get_url:
|
||||
url: https://repo.zabbix.com/zabbix-official-repo-apr2024.gpg
|
||||
dest: /etc/apt/keyrings/zabbix.gpg
|
||||
environment:
|
||||
https_proxy: "{{ system_proxy | default('') }}"
|
||||
loop:
|
||||
- https://repo.zabbix.com/zabbix-official-repo-apr2024.gpg
|
||||
- https://repo.zabbix.com/zabbix-official-repo.key
|
||||
tags: repo,zabbix
|
||||
|
||||
- name: Add Zabbix repo
|
||||
apt_repository:
|
||||
repo: deb https://repo.zabbix.com/zabbix/{{ zabbix_major_version }}{% if zabbix_major_version is version('7.2', '>=') %}/stable{% endif %}/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} main
|
||||
repo: deb [signed-by=/etc/apt/keyrings/zabbix.gpg] https://repo.zabbix.com/zabbix/{{ zabbix_major_version }}{% if zabbix_major_version is version('7.2', '>=') %}/stable{% endif %}/{{ ansible_distribution | lower }} {{ (ansible_distribution_major_version is version('13', '>=')) | ternary('bookworm', ansible_distribution_release) }} main
|
||||
filename: zabbix
|
||||
tags: repo,zabbix
|
||||
|
||||
|
Reference in New Issue
Block a user