This commit is contained in:
2026-02-16 00:30:01 +01:00
parent 398239040d
commit c64f28c0f2

View File

@@ -31,11 +31,24 @@
# Acquire::http::Proxy "http://192.168.77.101:3142";
# Acquire::https::Proxy "false";
# ==========================================================
# Import Zabbix GPG key
# ==========================================================
- name: Import Zabbix GPG key
ansible.builtin.rpm_key:
state: present
key: https://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591
# ==========================================================
# Install Zabbix repository
# ==========================================================
- name: Install Zabbix repository
ansible.builtin.dnf:
name: "https://repo.zabbix.com/zabbix/{{ zabbix_version }}/release/rocky/9/noarch/zabbix-release-latest-{{ zabbix_version }}.el9.noarch.rpm"
state: present
- name: Download Zabbix repo package
get_url:
url: "https://repo.zabbix.com/zabbix/{{ zabbix_version }}/release/rocky/9/noarch/zabbix-release-latest-{{ zabbix_version }}.el9.noarch.rpm"
dest: /tmp/zabbix-release.rpm
- name: Install Zabbix repository
ansible.builtin.dnf: