From 02d250c4a56b9d489c17c0466f3fc80fb8d6a7cd Mon Sep 17 00:00:00 2001 From: Filipe Marcelino Date: Mon, 2 Sep 2024 02:12:50 +0100 Subject: [PATCH] Fix permissions for docker.sock --- tasks/setup-Debian.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index cf4c2fc..325a2ad 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -64,3 +64,8 @@ filename: "{{ docker_apt_filename }}" update_cache: true when: docker_add_repo | bool + +- name: Set `/var/run/docker.sock` right permissions + ansible.builtin.file: + path: /var/run/docker.sock + mode: '0666'