ansible-community / ansible-nomad

:watch: Ansible role for Nomad
https://galaxy.ansible.com/brianshumate/nomad
BSD 2-Clause "Simplified" License
294 stars 163 forks source link

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 10 months ago

msherman13 commented 10 months ago

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)