Add user to docker group

This commit is contained in:
pgrondek 2020-07-01 15:43:07 +02:00
parent fc737702b9
commit a02aacc406

View File

@ -12,3 +12,8 @@
url: https://github.com/docker/compose/releases/download/{{ docker.compose.version }}/docker-compose-Linux-x86_64 url: https://github.com/docker/compose/releases/download/{{ docker.compose.version }}/docker-compose-Linux-x86_64
dest: /usr/local/bin/docker-compose dest: /usr/local/bin/docker-compose
mode: 0755 mode: 0755
- name: add current user to docker group
user:
name: {{ ansible_user_id }}
groups: docker