mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-23 22:42:02 +01:00
restrict permissions on docker template files
This commit is contained in:
parent
3bb3d926e1
commit
b0efecdd53
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
ansible.builtin.template:
|
||||
src: "{{ item }}"
|
||||
dest: "{{ docker_dir }}/{{ item | basename | regex_replace('\\.j2$', '') }}"
|
||||
mode: preserve
|
||||
mode: "0600"
|
||||
with_fileglob:
|
||||
- templates/{{ docker_app_name }}/*.j2
|
||||
- templates/{{ docker_app_name }}/.*.j2
|
||||
|
|
Loading…
Reference in a new issue