feat: initial commit

This commit is contained in:
Simon Cornet 2025-04-16 17:32:51 +02:00
commit 0830507cf7
20 changed files with 459 additions and 0 deletions

21
tasks/config.yaml Normal file
View file

@ -0,0 +1,21 @@
---
# setup psk
- name: "setup psk"
ansible.builtin.template:
src: "templates/zabbix/agent/zabbix_agent.psk.j2"
dest: "/etc/zabbix/zabbix_agent.psk"
owner: "zabbix"
group: "zabbix"
mode: "0640"
notify: "restart zabbix-agent"
# config agent
- name: "config agent"
ansible.builtin.template:
src: "templates/zabbix/agent/zabbix_agent.conf.j2"
dest: "/etc/zabbix/zabbix_agent2.conf"
owner: "root"
group: "root"
mode: "0664"
notify: "restart zabbix-agent"