first upload
This commit is contained in:
parent
f3f19d06f7
commit
4d0c45f6c2
23
tasks/install-zabbix-repo.yml
Normal file
23
tasks/install-zabbix-repo.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
- 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"
|
Loading…
Reference in New Issue
Block a user