wazuh-ansible
wazuh-ansible copied to clipboard
Adds missing wazuh_agent_authd.groups arg to Windows authd agent registration task
This PR adds a missing wazuh_agent_authd.groups
arg to the "Windows | Register agent" task.
With this, any groups defined in wazuh_agent_authd.groups
will be passed to the task and used to set an agent's group, just like in the corresponding "Linux | Register agent (via authd)" task:
https://github.com/wazuh/wazuh-ansible/blob/f357e20493dd40020d4ca4eb45d090607f9bddf6/roles/wazuh/ansible-wazuh-agent/tasks/Linux.yml#L91-L93