mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-21 06:48:02 +01:00
fix mode for files
This commit is contained in:
parent
d94c594d4b
commit
fbdfcaac4d
2 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@
|
|||
ansible.builtin.copy:
|
||||
src: "{{ item }}"
|
||||
dest: "{{ dir }}/"
|
||||
mode: "0600"
|
||||
mode: preserve
|
||||
with_fileglob:
|
||||
- files/{{ app_name }}/*
|
||||
- files/{{ app_name }}/.*
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
ansible.builtin.copy:
|
||||
src: "{{ item }}"
|
||||
dest: "{{ docker_dir }}/"
|
||||
mode: "0600"
|
||||
mode: preserve
|
||||
with_fileglob:
|
||||
- files/{{ docker_app_name }}/*
|
||||
- files/{{ docker_app_name }}/.*
|
||||
|
@ -18,7 +18,7 @@
|
|||
ansible.builtin.template:
|
||||
src: "{{ item }}"
|
||||
dest: "{{ docker_dir }}/{{ item | basename | regex_replace('\\.j2$', '') }}"
|
||||
mode: "0600"
|
||||
mode: preserve
|
||||
with_fileglob:
|
||||
- templates/{{ docker_app_name }}/*.j2
|
||||
- templates/{{ docker_app_name }}/.*.j2
|
||||
|
|
Loading…
Reference in a new issue