2020-09-27 22:16:06 +02:00
|
|
|
---
|
2020-10-25 16:35:57 +01:00
|
|
|
{%- from "zabbix/map.jinja" import zabbix with context %}
|
2020-09-27 22:16:06 +02:00
|
|
|
include:
|
2022-07-27 23:49:18 +02:00
|
|
|
{% if zabbix.server.enable %}
|
2024-02-24 15:30:27 +01:00
|
|
|
- repo
|
2020-09-27 22:16:06 +02:00
|
|
|
- postgresql
|
|
|
|
- php
|
2020-10-25 16:35:57 +01:00
|
|
|
- .server
|
|
|
|
{% endif %}
|
2022-07-27 23:49:18 +02:00
|
|
|
{% if zabbix.agent.enable %}
|
2024-02-24 15:30:27 +01:00
|
|
|
- repo
|
2024-09-28 14:24:54 +02:00
|
|
|
- .agent2
|
|
|
|
|
|
|
|
## for upgrade
|
|
|
|
zabbix-agent-service:
|
|
|
|
service.stopped:
|
|
|
|
- name: zabbix-agent
|
|
|
|
- enable: false
|
2020-10-25 16:35:57 +01:00
|
|
|
{% endif %}
|