Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
498 B

---
# Packages from fws provides a "zabbix" package.
# But upgrading this one with the packages from Zabbix repo will
# pull all the servers and proxies packages, which we do not want
- name: Remove old zabbix package
yum:
name:
- zabbix
state: absent
tags: zabbix
- name: Install Zabbix Agent and additional scripts
yum:
name: "{{ zabbix_agent_packages }}"
state: "{{ zabbix_agent_update | ternary('latest','present') }}"
notify: restart zabbix-agent
tags: zabbix