Skip to content

Commit

Permalink
🐛 fix docker setup: reset connection to pick new user group
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsavio committed Aug 8, 2018
1 parent 67bbb6c commit 5021c6d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions roles/docker-compose/tasks/install_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@
groups: docker
append: yes

- name: Change a few ownerships to root:docker
file:
path: '{{ item }}'
owner: root
group: docker
with_items:
- /var/run/docker.sock
- /usr/bin/docker

- name: Restart the docker daemon
service:
name: docker
Expand All @@ -65,3 +56,6 @@
name: docker
state: started
enabled: yes

- name: reset ssh connection to allow user changes to affect '{{ user }}'
meta: reset_connection

0 comments on commit 5021c6d

Please sign in to comment.