mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-11-22 11:00
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user