24 lines
872 B
YAML
24 lines
872 B
YAML
|
---
|
||
|
- name: Zabbix repó hozzáadása [Red Hat family]
|
||
|
yum:
|
||
|
name: https://repo.zabbix.com/zabbix/6.4/rhel/{{ ansible_distribution_major_version }}/x86_64/zabbix-release-6.4-1.el{{ ansible_distribution_major_version }}.noarch.rpm
|
||
|
state: present
|
||
|
disable_gpg_check: yes
|
||
|
validate_certs: no
|
||
|
when:
|
||
|
- ansible_os_family == "RedHat"
|
||
|
|
||
|
- name: Zabbix repó hozzáadása [Debian]
|
||
|
apt:
|
||
|
deb: https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian{{ ansible_distribution_version }}_all.deb
|
||
|
state: present
|
||
|
when:
|
||
|
- ansible_distribution == "Debian"
|
||
|
|
||
|
- name: Zabbix repó hozzáadása [Ubuntu]
|
||
|
apt:
|
||
|
deb: https://repo.zabbix.com/zabbix/6.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.4-1+ubuntu{{ ansible_distribution_version }}_all.deb
|
||
|
state: present
|
||
|
when:
|
||
|
- ansible_distribution == "Ubuntu"
|