added handler in case something in the config is changed, it will restart the service

This commit is contained in:
2026-03-17 15:41:38 -04:00
parent e42034488b
commit 379ab9e021
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
---
- name: Restart zabbix-agent2
ansible.builtin.systemd:
name: zabbix-agent2
state: restarted
daemon_reload: true