20 lines
319 B
Plaintext
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 %}
|