service: set reasonable defaults for copypath modes
This commit is contained in:
@@ -41,7 +41,8 @@
|
|||||||
copy:
|
copy:
|
||||||
src: "files/{{ item.copypath }}"
|
src: "files/{{ item.copypath }}"
|
||||||
dest: "{{ docker_mounts_dir }}/"
|
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
|
when: item.copypath is defined
|
||||||
loop: "{{ docker_mounts }}"
|
loop: "{{ docker_mounts }}"
|
||||||
notify: Restart container
|
notify: Restart container
|
||||||
|
|||||||
Reference in New Issue
Block a user