diff --git a/etc/kayobe/ansible/wazuh-manager.yml b/etc/kayobe/ansible/wazuh-manager.yml index 0bbb9bd98..2d45413cb 100644 --- a/etc/kayobe/ansible/wazuh-manager.yml +++ b/etc/kayobe/ansible/wazuh-manager.yml @@ -105,3 +105,14 @@ command: filebeat test output changed_when: false retries: 2 + + handlers: + - name: Restart wazuh + service: + name: wazuh-manager + state: restarted + + - name: Restart wazuh-dashboard + service: + name: wazuh-dashboard + state: restarted \ No newline at end of file