20 lines
322 B
Plaintext
20 lines
322 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.stopped:
|
|
- name: zabbix-agent
|
|
- enable: false
|
|
{% endif %}
|