paulbsd-salt/states/zabbix/init.sls
Paul 0dad5294c7
All checks were successful
continuous-integration/drone/push Build is passing
updated zabbix state
2024-09-28 14:36:12 +02:00

20 lines
319 B
Plaintext

---
{%- from "zabbix/map.jinja" import zabbix with context %}
include:
{% if zabbix.server.enable %}
- repo
- postgresql
- php
- .server
{% endif %}
{% if zabbix.agent2.enable %}
- repo
- .agent2
## for upgrade
zabbix-agent-service:
service.dead:
- name: zabbix-agent
- enable: false
{% endif %}