21 lines
506 B
YAML
21 lines
506 B
YAML
---
|
|
|
|
# configure psk
|
|
- name: "configure psk"
|
|
ansible.builtin.template:
|
|
src: "templates/zabbix/zabbix_proxy.psk.j2"
|
|
dest: "/etc/zabbix/zabbix_proxy.psk"
|
|
owner: "zabbix"
|
|
group: "zabbix"
|
|
mode: "0640"
|
|
notify: "restart zabbix-proxy"
|
|
|
|
# config proxy
|
|
- name: "configure zabbix-proxy"
|
|
ansible.builtin.template:
|
|
src: "templates/zabbix/zabbix_proxy.conf.j2"
|
|
dest: "/etc/zabbix/zabbix_proxy.conf"
|
|
owner: "root"
|
|
group: "root"
|
|
mode: "0664"
|
|
notify: "restart zabbix-proxy"
|