mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-24 16:28:03 +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:
|
ansible.builtin.copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ dir }}/"
|
dest: "{{ dir }}/"
|
||||||
mode: "0600"
|
mode: preserve
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- files/{{ app_name }}/*
|
- files/{{ app_name }}/*
|
||||||
- files/{{ app_name }}/.*
|
- files/{{ app_name }}/.*
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ docker_dir }}/"
|
dest: "{{ docker_dir }}/"
|
||||||
mode: "0600"
|
mode: preserve
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- files/{{ docker_app_name }}/*
|
- files/{{ docker_app_name }}/*
|
||||||
- files/{{ docker_app_name }}/.*
|
- files/{{ docker_app_name }}/.*
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ docker_dir }}/{{ item | basename | regex_replace('\\.j2$', '') }}"
|
dest: "{{ docker_dir }}/{{ item | basename | regex_replace('\\.j2$', '') }}"
|
||||||
mode: "0600"
|
mode: preserve
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- templates/{{ docker_app_name }}/*.j2
|
- templates/{{ docker_app_name }}/*.j2
|
||||||
- templates/{{ docker_app_name }}/.*.j2
|
- templates/{{ docker_app_name }}/.*.j2
|
||||||
|
|
Loading…
Reference in a new issue