Skip to content

Idempotent user creation#49

Merged
gabriel-samfira merged 1 commit intomainfrom
add-user-idenpotency-windows
Aug 6, 2025
Merged

Idempotent user creation#49
gabriel-samfira merged 1 commit intomainfrom
add-user-idenpotency-windows

Conversation

@gabriel-samfira
Copy link
Member

Check if the runner user exists before trying to add it. Also, check group membership before trying to add it to the Administrators group.

Check if the runner user exists before trying to add it. Also, check
group membership before trying to add it to the Administrators group.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
@gabriel-samfira gabriel-samfira merged commit 1b236e5 into main Aug 6, 2025
2 checks passed
@gabriel-samfira gabriel-samfira deleted the add-user-idenpotency-windows branch August 6, 2025 07:28
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