Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forcing usage of luseradd/lgroupadd broke some distros #143

Merged
merged 2 commits into from
Nov 8, 2022

Conversation

jewnix
Copy link
Collaborator

@jewnix jewnix commented Nov 8, 2022

Some distros either don't have the luseradd and lgroupadd commands, or they are just broken.

This sets the local: false as the default (since this is how it has been before the recent change).
If you wish to force to create local user and group, set the local_os_user and local_os_group to true.

@jewnix jewnix added the bug Something isn't working label Nov 8, 2022
@jewnix jewnix requested a review from dtwersky November 8, 2022 17:29
@dtwersky dtwersky merged commit f9b4f5c into splunk:master Nov 8, 2022
@jewnix jewnix deleted the fix_local_user_group branch November 8, 2022 17:48
@arcsector
Copy link
Contributor

Good catch - super weird that ansible decides to use luseradd and doesn't have any fallback for systems which don't have that command, but that's an issue with ansible core not the splunk role. Thanks for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants