updated zabbix state

This commit is contained in:
Paul 2022-07-27 23:49:18 +02:00
parent 8d8f5da98b
commit 04f3573c90
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
---
zabbix:
server:
enabled: false
enable: false
user: zabbix
group: zabbix
pkgs:
@ -11,12 +11,13 @@ zabbix:
DBHost: zabbix
DBName: zabbix
DBPassword: zabbix
DBPort: 5433
DBUser: zabbix
LogFile: /var/log/zabbix/zabbix_server.log
LogType: file
PidFile: /run/zabbix/zabbix_server.pid
agent:
enabled: true
enable: true
user: zabbix
group: zabbix
pkgs:

View File

@ -1,13 +1,13 @@
---
{%- from "zabbix/map.jinja" import zabbix with context %}
include:
{% if zabbix.server.enabled %}
{% if zabbix.server.enable %}
- repos
- postgresql
- php
- .server
{% endif %}
{% if zabbix.agent.enabled %}
{% if zabbix.agent.enable %}
- repos
- .agent
{% endif %}