updated zabbix state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2023-03-11 09:54:27 +01:00
parent 7c2323fb64
commit 942d552f28
3 changed files with 8 additions and 0 deletions

View File

@ -3,3 +3,5 @@
zabbix-agent-pkgs: zabbix-agent-pkgs:
pkg.latest: pkg.latest:
- pkgs: {{ zabbix.agent.pkgs }} - pkgs: {{ zabbix.agent.pkgs }}
- watch_in:
- service: zabbix-agent-service

View File

@ -5,6 +5,8 @@ zabbix-script-dir:
- name: /etc/zabbix/scripts - name: /etc/zabbix/scripts
- user: {{ zabbix.agent.user }} - user: {{ zabbix.agent.user }}
- group: {{ zabbix.agent.group }} - group: {{ zabbix.agent.group }}
- watch_in:
- service: zabbix-agent-service
{% for key, value in zabbix.agent.scripts.items() -%} {% for key, value in zabbix.agent.scripts.items() -%}
zabbix-script-{{ key }}: zabbix-script-{{ key }}:
@ -14,4 +16,6 @@ zabbix-script-{{ key }}:
- user: {{ zabbix.agent.user }} - user: {{ zabbix.agent.user }}
- group: {{ zabbix.agent.group }} - group: {{ zabbix.agent.group }}
- mode: 0755 - mode: 0755
- watch_in:
- service: zabbix-agent-service
{% endfor -%} {% endfor -%}

View File

@ -7,3 +7,5 @@ zabbix-server-config:
- user: {{ zabbix.server.user }} - user: {{ zabbix.server.user }}
- group: {{ zabbix.server.group }} - group: {{ zabbix.server.group }}
- template: jinja - template: jinja
- watch_in:
- service: zabbix-server-service