2021-12-01 19:13:34 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Configure Zabbix repo
|
|
|
|
yum_repository:
|
|
|
|
name: zabbix
|
|
|
|
description: Zabbix Repository
|
2024-04-05 10:01:02 +02:00
|
|
|
baseurl: https://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/rhel/$releasever/$basearch/
|
2021-12-01 19:13:34 +01:00
|
|
|
gpgcheck: True
|
2023-06-16 18:00:09 +02:00
|
|
|
gpgkey: "{{ zabbix_repo_key }}"
|
2021-12-01 19:13:34 +01:00
|
|
|
priority: 50
|
|
|
|
includepkgs:
|
|
|
|
- zabbix*
|
2022-01-26 16:00:08 +01:00
|
|
|
tags: repo,zabbix
|
2021-12-01 19:13:34 +01:00
|
|
|
|
2022-11-22 11:00:11 +01:00
|
|
|
- name: Configure Zabbix Agent2 plugins repo
|
|
|
|
yum_repository:
|
|
|
|
name: zabbix-agent2-plugins
|
2024-09-04 11:00:35 +02:00
|
|
|
state: absent
|
2022-11-22 11:00:11 +01:00
|
|
|
description: Zabbix Agent2 plugins Repository
|
2024-04-05 10:01:02 +02:00
|
|
|
baseurl: https://repo.zabbix.com/zabbix-agent2-plugins/1/rhel/$releasever/$basearch/
|
2022-11-22 11:00:11 +01:00
|
|
|
gpgcheck: True
|
|
|
|
priority: 50
|
|
|
|
includepkgs:
|
|
|
|
- zabbix*
|
|
|
|
tags: repo,zabbix
|
|
|
|
|
2021-12-01 19:13:34 +01:00
|
|
|
- name: Configure Zabbix frontend repo
|
|
|
|
yum_repository:
|
|
|
|
name: zabbix-frontend
|
|
|
|
description: Zabbix web frontend repository
|
|
|
|
file: zabbix
|
2024-04-05 10:01:02 +02:00
|
|
|
baseurl: https://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/rhel/$releasever/$basearch/frontend
|
2021-12-01 19:13:34 +01:00
|
|
|
gpgcheck: True
|
2023-06-29 10:00:34 +02:00
|
|
|
gpgkey: "{{ zabbix_repo_key }}"
|
2021-12-01 19:13:34 +01:00
|
|
|
priority: 50
|
|
|
|
includepkgs:
|
|
|
|
- zabbix*
|
2024-09-04 11:00:35 +02:00
|
|
|
state: absent
|
2022-01-26 16:00:08 +01:00
|
|
|
tags: repo,zabbix
|
2022-11-22 11:00:11 +01:00
|
|
|
|