You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a win_user task and specifying groups, it is currently very cumbersome to deal with Windows' internationalized group names because groups does not accept SIDs (or well, treats them as group names and fails to match them)
ISSUE TYPE
Feature Idea
COMPONENT NAME
ansible.windows.win_user
ADDITIONAL INFORMATION
How the feature will be solved: I will submit a PR with a proposed solution for discussion
Why it is needed: So the win_user module can reliably create users with group assignments on Windows systems
What would it solve: It would solve the problem that currently any and all playbooks or roles utilizing win_user with groups are either only compatible with one OS language or use lengthy win_shell tasks with register each time to determine the proper localized group name from an SID first
SUMMARY
When running a
win_user
task and specifying groups, it is currently very cumbersome to deal with Windows' internationalized group names becausegroups
does not accept SIDs (or well, treats them as group names and fails to match them)ISSUE TYPE
COMPONENT NAME
ansible.windows.win_user
ADDITIONAL INFORMATION
win_user
module can reliably create users with group assignments on Windows systemswin_user
withgroups
are either only compatible with one OS language or use lengthywin_shell
tasks withregister
each time to determine the proper localized group name from an SID firstWhat you have to do now:
What I would like to be able to do instead:
PR with proposed fix: #154
The text was updated successfully, but these errors were encountered: