service: set reasonable defaults for copypath modes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user