1
1

delete ZBXDIR

This commit is contained in:
Márkus Sándor 2023-07-30 18:50:52 +02:00
parent 2575922a01
commit c49d41715d

View File

@ -1,12 +1,12 @@
---
- name: Zabbix Agent konfigurálása
diff: yes
template: src=~/git/ansible_vagrant/templates/zabbix_agentd.conf.j2 dest={{ ZBXDIR }}/zabbix_agentd.conf backup=yes
template: src=~/git/ansible_vagrant/templates/zabbix_agentd.conf.j2 dest=/etc/zabbix/zabbix_agentd.conf backup=yes
notify:
- restart zabbix-agent
- name: Zabbix Agent PSK fájl létrehozása
diff: yes
template: src=~/git/ansible_vagrant/templates/zabbix.psk.j2 dest={{ ZBXDIR }}/zabbix.psk backup=yes owner=zabbix group=zabbix mode=0640
template: src=~/git/ansible_vagrant/templates/zabbix.psk.j2 dest=/etc/zabbix/zabbix.psk backup=yes owner=zabbix group=zabbix mode=0640
notify:
- restart zabbix-agent