2021-12-01 19:13:34 +01:00
---
- name : Configure Zabbix repo
yum_repository :
name : zabbix
description : Zabbix Repository
baseurl : http://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/rhel/$releasever/$basearch/
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
description : Zabbix Agent2 plugins Repository
baseurl : http://repo.zabbix.com/zabbix-agent2-plugins/1/rhel/$releasever/$basearch/
gpgcheck : True
2023-06-29 10:00:34 +02:00
gpgkey : "{{ zabbix_plugin_key }}"
2022-11-22 11:00:11 +01:00
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
baseurl : http://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/rhel/$releasever/$basearch/frontend
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*
2021-12-07 20:00:26 +01:00
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') }}"
2022-01-26 16:00:08 +01:00
tags : repo,zabbix
2022-11-22 11:00:11 +01:00