Update to 2020-08-24 20:00

master
Daniel Berteaud 4 years ago
parent d0d8779bdf
commit 02aa54a348
  1. 2
      roles/repo_zabbix/defaults/main.yml
  2. 14
      roles/repo_zabbix/tasks/RedHat.yml
  3. 2
      roles/zabbix_server/tasks/install.yml

@ -1,2 +1,2 @@
---
zabbix_major_version: 4.4
zabbix_major_version: 5.0

@ -47,3 +47,17 @@
includepkgs:
- zabbix*
tags: repo
- 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
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-zabbix
priority: 50
includepkgs:
- zabbix*
state: "{{ (zabbix_major_version is version('5.0', '>=')) | ternary('present', 'absent') }}"
tags: repo

@ -4,7 +4,7 @@
yum:
name:
- zabbix-server-mysql
- zabbix-web-mysql
- zabbix-web
- zabbix-java-gateway
- zabbix-get
- mariadb

Loading…
Cancel
Save