mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 15:47:32 +02:00
Update to 2025-01-03 11:00
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
yum_repository:
|
||||
name: zabbix
|
||||
description: Zabbix Repository
|
||||
baseurl: https://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/rhel/$releasever/$basearch/
|
||||
baseurl: https://repo.zabbix.com/zabbix/{{ zabbix_major_version }}{% if zabbix_major_version is version('7.2', '>=') %}/stable{% endif %}/rhel/$releasever/$basearch/
|
||||
gpgcheck: True
|
||||
gpgkey: "{{ zabbix_repo_key }}"
|
||||
priority: 50
|
||||
@@ -12,6 +12,19 @@
|
||||
- zabbix*
|
||||
tags: repo,zabbix
|
||||
|
||||
- name: Configure Zabbix repo
|
||||
yum_repository:
|
||||
name: zabbix-release
|
||||
description: Zabbix Release Repository
|
||||
baseurl: https://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/release/rhel/$releasever/noarch/
|
||||
gpgcheck: True
|
||||
gpgkey: "{{ zabbix_repo_key }}"
|
||||
priority: 50
|
||||
includepkgs:
|
||||
- zabbix*
|
||||
state: "{{ zabbix_major_version is version('7.2', '>=') | ternary('present', 'absent') }}"
|
||||
tags: repo,zabbix
|
||||
|
||||
- name: Configure Zabbix Agent2 plugins repo
|
||||
yum_repository:
|
||||
name: zabbix-agent2-plugins
|
||||
@@ -24,17 +37,3 @@
|
||||
- zabbix*
|
||||
tags: repo,zabbix
|
||||
|
||||
- name: Configure Zabbix frontend repo
|
||||
yum_repository:
|
||||
name: zabbix-frontend
|
||||
description: Zabbix web frontend repository
|
||||
file: zabbix
|
||||
baseurl: https://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/rhel/$releasever/$basearch/frontend
|
||||
gpgcheck: True
|
||||
gpgkey: "{{ zabbix_repo_key }}"
|
||||
priority: 50
|
||||
includepkgs:
|
||||
- zabbix*
|
||||
state: absent
|
||||
tags: repo,zabbix
|
||||
|
||||
|
Reference in New Issue
Block a user