ansible-nomad icon indicating copy to clipboard operation
ansible-nomad copied to clipboard

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

Open msherman13 opened this issue 1 year ago • 0 comments

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)

msherman13 avatar Oct 27 '23 18:10 msherman13