From 481dde7e84e06ea76ca9a8df089a91e08e5dcbf7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 23 Feb 2021 17:27:40 +0000 Subject: [PATCH] Add user to docker group once it definitely exists --- tasks/dev.yml | 7 +++++++ tasks/user.yml | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tasks/dev.yml b/tasks/dev.yml index 2629576..800b384 100644 --- a/tasks/dev.yml +++ b/tasks/dev.yml @@ -30,6 +30,13 @@ - sublime-text - tig +- name: Add user to docker group + user: + name: "{{ user }}" + groups: docker + append: true + become: true + - name: Create global .gitignore copy: src: ./files/gitignore_global diff --git a/tasks/user.yml b/tasks/user.yml index 3e299d9..ec015fd 100644 --- a/tasks/user.yml +++ b/tasks/user.yml @@ -7,7 +7,6 @@ system: true groups: - audio - - docker - games - input - lp