diff --git a/roles/docker/tasks/install-docker-io.yml b/roles/docker/tasks/install-docker-io.yml index cc1b2c5..86a150d 100644 --- a/roles/docker/tasks/install-docker-io.yml +++ b/roles/docker/tasks/install-docker-io.yml @@ -12,3 +12,8 @@ url: https://github.com/docker/compose/releases/download/{{ docker.compose.version }}/docker-compose-Linux-x86_64 dest: /usr/local/bin/docker-compose mode: 0755 + +- name: add current user to docker group + user: + name: {{ ansible_user_id }} + groups: docker