This commit is contained in:
parent
7c2323fb64
commit
942d552f28
@ -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
|
||||||
|
@ -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 -%}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user