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