nstoik / infrastructure

Infrasctructure for my home lab and StechSolutions
GNU General Public License v3.0
0 stars 0 forks source link

Docker user should be added to the sudo group #49

Closed nstoik closed 2 months ago

nstoik commented 5 months ago

For the docker install role, include the docker user in the sudo group so you don't have to preface all the docker commands with sudo.

nstoik commented 2 months ago

The ansible docker task already sets up that the default_user is added to the docker group. Reran the playbook on the netmaker host on July 12, 2024 and it correctly added the user to the docker group. Check it in a couple weeks to make sure something isn't removing it from the group?

nstoik commented 2 months ago

Found that the setup_user.yaml task was creating the user and clearing all existing groups. Adding the append flag true addresses that.