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

When running nomad as root and ansible_manage_group is true, existing root user's group ID is changed from 0 to 1 #172

Open
msherman13 opened this issue Oct 27, 2023 · 0 comments

Comments

@msherman13
Copy link

msherman13 commented Oct 27, 2023

If using the role with the default settings, after the installation the user group ID of the root user is changed to 1. This breaks downstream things, in my case the ansible-freeipa client install role throws an exception because it thinks the user group is not that of root when become=true.

My workaround here is to set ansible_user to nomad. Maybe that should be the default, which is similar to ansible-consul (consul_user=consul) and ansible-vault (vault_user=vault)

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

No branches or pull requests

1 participant