Skip to content

Conversation

@dave-re
Copy link

@dave-re dave-re commented Nov 25, 2015

Change to use the docker-engine instead of the lxc-docker when installing on the Ubuntu

@JasonGiedymin
Copy link
Member

Please update this PR, would like to include it in the next release.



- name: Create the docker group and add your user
command: usermod -aG docker {{ansible_ssh_user}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use proper group module for creating group. Can't avoid command for "adding" user to group though.
Use a variable for the user, not always the user making the connection that needs to be added to the group.
Group name can also be a variable if someone wants to use a different one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants