From 90cd2786cfb106ddee4b1d0ca5ee11c963ad7ee6 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 1 Mar 2023 12:43:33 +0100 Subject: [PATCH] Add user to docker group Enables access to /run/docker.sock --- tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 321bc66..04ec6a7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -13,6 +13,8 @@ password_lock: true system: true group: "{{ diun_user }}" + groups: docker + append: true - name: "Get download URL" ansible.builtin.shell: