mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-01-26 16:00
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
data: "{{ lookup('url', 'https://repo.zabbix.com/zabbix-official-repo.key', split_lines=False) }}"
|
||||
environment:
|
||||
https_proxy: "{{ system_proxy | default('') }}"
|
||||
tags: repo
|
||||
tags: repo,zabbix
|
||||
|
||||
- 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
|
||||
tags: repo
|
||||
tags: repo,zabbix
|
||||
|
@@ -34,7 +34,7 @@
|
||||
=5TOS
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
dest: /etc/pki/rpm-gpg/RPM-GPG-KEY-zabbix
|
||||
tags: repo
|
||||
tags: repo,zabbix
|
||||
|
||||
- name: Configure Zabbix repo
|
||||
yum_repository:
|
||||
@@ -46,7 +46,7 @@
|
||||
priority: 50
|
||||
includepkgs:
|
||||
- zabbix*
|
||||
tags: repo
|
||||
tags: repo,zabbix
|
||||
|
||||
- name: Configure Zabbix frontend repo
|
||||
yum_repository:
|
||||
@@ -60,4 +60,4 @@
|
||||
includepkgs:
|
||||
- zabbix*
|
||||
state: "{{ (zabbix_major_version is version('5.0', '>=') and zabbix_major_version is version('5.4', '<') and ansible_distribution_major_version is version('8', '<')) | ternary('present', 'absent') }}"
|
||||
tags: repo
|
||||
tags: repo,zabbix
|
||||
|
Reference in New Issue
Block a user