paulbsd-salt/states/zabbix/server/config.sls
Paul Lecuq 942d552f28
All checks were successful
continuous-integration/drone/push Build is passing
updated zabbix state
2023-03-11 09:54:27 +01:00

12 lines
356 B
Plaintext

---
{%- from "zabbix/map.jinja" import zabbix with context %}
zabbix-server-config:
file.managed:
- name: /etc/zabbix/zabbix_server.conf
- source: salt://zabbix/templates/zabbix_server.conf.j2
- user: {{ zabbix.server.user }}
- group: {{ zabbix.server.group }}
- template: jinja
- watch_in:
- service: zabbix-server-service