This commit is contained in:
parent
7c2323fb64
commit
942d552f28
@ -3,3 +3,5 @@
|
||||
zabbix-agent-pkgs:
|
||||
pkg.latest:
|
||||
- pkgs: {{ zabbix.agent.pkgs }}
|
||||
- watch_in:
|
||||
- service: zabbix-agent-service
|
||||
|
@ -5,6 +5,8 @@ zabbix-script-dir:
|
||||
- name: /etc/zabbix/scripts
|
||||
- user: {{ zabbix.agent.user }}
|
||||
- group: {{ zabbix.agent.group }}
|
||||
- watch_in:
|
||||
- service: zabbix-agent-service
|
||||
|
||||
{% for key, value in zabbix.agent.scripts.items() -%}
|
||||
zabbix-script-{{ key }}:
|
||||
@ -14,4 +16,6 @@ zabbix-script-{{ key }}:
|
||||
- user: {{ zabbix.agent.user }}
|
||||
- group: {{ zabbix.agent.group }}
|
||||
- mode: 0755
|
||||
- watch_in:
|
||||
- service: zabbix-agent-service
|
||||
{% endfor -%}
|
||||
|
@ -7,3 +7,5 @@ zabbix-server-config:
|
||||
- user: {{ zabbix.server.user }}
|
||||
- group: {{ zabbix.server.group }}
|
||||
- template: jinja
|
||||
- watch_in:
|
||||
- service: zabbix-server-service
|
||||
|
Loading…
Reference in New Issue
Block a user