restrict permissions on docker template files

This commit is contained in:
Gabriel Augendre 2024-10-11 19:17:28 +02:00
parent 3bb3d926e1
commit b0efecdd53

View file

@ -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