1
1
ansible_vagrant/tasks/install-zabbix_agent.yml

17 lines
330 B
YAML
Raw Normal View History

2023-07-01 12:50:13 +02:00
---
- name: Zabbix Agent telepítése [Red Hat family]
yum:
name: zabbix-agent
state: latest
update_cache: yes
when:
- ansible_os_family == "RedHat"
- name: Zabbix Agent telepítése [Debian family]
apt:
name: zabbix-agent
state: latest
update_cache: yes
when:
- ansible_os_family == "Debian"