From 5b4bea1b0980452196ce9befa10ea1267fa27b98 Mon Sep 17 00:00:00 2001 From: uumas Date: Thu, 27 Mar 2025 22:20:07 +0200 Subject: [PATCH] service: set reasonable defaults for copypath modes --- roles/service/tasks/mounts.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/service/tasks/mounts.yml b/roles/service/tasks/mounts.yml index e57582d..5c526b0 100644 --- a/roles/service/tasks/mounts.yml +++ b/roles/service/tasks/mounts.yml @@ -41,7 +41,8 @@ copy: src: "files/{{ item.copypath }}" dest: "{{ docker_mounts_dir }}/" - mode: "{{ item.mode | default('0755') }}" + directory_mode: "{{ item.mode | default('0755') }}" + mode: "{{ item.mode | default('0644') }}" when: item.copypath is defined loop: "{{ docker_mounts }}" notify: Restart container