mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
---
|
|
|
|
- name: Configure Zabbix repo
|
|
yum_repository:
|
|
name: zabbix
|
|
description: Zabbix Repository
|
|
baseurl: https://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/rhel/$releasever/$basearch/
|
|
gpgcheck: True
|
|
gpgkey: "{{ zabbix_repo_key }}"
|
|
priority: 50
|
|
includepkgs:
|
|
- zabbix*
|
|
tags: repo,zabbix
|
|
|
|
- name: Configure Zabbix Agent2 plugins repo
|
|
yum_repository:
|
|
name: zabbix-agent2-plugins
|
|
state: absent
|
|
description: Zabbix Agent2 plugins Repository
|
|
baseurl: https://repo.zabbix.com/zabbix-agent2-plugins/1/rhel/$releasever/$basearch/
|
|
gpgcheck: True
|
|
priority: 50
|
|
includepkgs:
|
|
- 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
|
|
|