mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-12 21:32:48 +01:00
build
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user