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.
 
 
 
 
 
 

21 lines
564 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
- zabbix-agent-addons
- openssl
- policycoreutils-python
state: "{{ zabbix_agent_update | ternary('latest','present') }}"
notify: restart zabbix-agent
tags: zabbix