Skip to content

Conversation

@81Denton
Copy link

@81Denton 81Denton commented Mar 15, 2021

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:

{% if wazuh_agent_authd.groups is defined and wazuh_agent_authd.groups | length > 0 %}
-G "{{ wazuh_agent_authd.groups | join(',') }}"
{% endif %}

@alberpilot alberpilot changed the base branch from master to 4.3 November 24, 2021 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant