From 0270758691de25571e1425e71c991daf9aafbaa8 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Mon, 27 Mar 2023 13:33:22 +0200 Subject: [PATCH] Change ownership of base Docker volume directory --- roles/docker_services/tasks/services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/docker_services/tasks/services.yml b/roles/docker_services/tasks/services.yml index fa32242..e55dc45 100644 --- a/roles/docker_services/tasks/services.yml +++ b/roles/docker_services/tasks/services.yml @@ -20,7 +20,7 @@ - name: Create base directory for Docker volumes ansible.builtin.file: name: "{{ base_volume }}" - owner: "{{ ansible_user }}" + owner: root mode: u=rwx,g=rx,o=rx state: directory