When include this module and trying to install the wazuh agent, the ansible run fails when running in check mode.
16:44:27 TASK Linux | Ensure Wazuh Agent service is started and enabled] ***
16:44:27 fatal: [hosta]: FAILED! => {"changed": false, "msg": "Could not find the requested service wazuh-agent: host"}
The ansible code should ignore this because we are running in check mode
When include this module and trying to install the wazuh agent, the ansible run fails when running in check mode.
16:44:27 TASK Linux | Ensure Wazuh Agent service is started and enabled] *** 16:44:27 fatal: [hosta]: FAILED! => {"changed": false, "msg": "Could not find the requested service wazuh-agent: host"}
The ansible code should ignore this because we are running in check mode