Update to 2022-11-22 11:00

This commit is contained in:
Daniel Berteaud
2022-11-22 11:00:11 +01:00
parent 257f5c13f0
commit b94198294b
7 changed files with 27 additions and 7 deletions

View File

@@ -12,3 +12,9 @@
repo: deb http://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} main
filename: zabbix
tags: repo,zabbix
- 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

View File

@@ -48,6 +48,18 @@
- zabbix*
tags: repo,zabbix
- name: Configure Zabbix Agent2 plugins repo
yum_repository:
name: zabbix-agent2-plugins
description: Zabbix Agent2 plugins Repository
baseurl: http://repo.zabbix.com/zabbix-agent2-plugins/1/rhel/$releasever/$basearch/
gpgcheck: True
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-zabbix
priority: 50
includepkgs:
- zabbix*
tags: repo,zabbix
- name: Configure Zabbix frontend repo
yum_repository:
name: zabbix-frontend
@@ -61,3 +73,4 @@
- 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,zabbix