More minor tweaks and fixes... 🥱
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
- name: Deploy Jinja2 templates (skip unchanged)
|
||||
ansible.builtin.template:
|
||||
src: "{{ item.path }}"
|
||||
dest: "{{ appdata_base_path }}/{{ item.path | community.general.relpath(template_base_path + '/' + inventory_hostname) | regex_replace('\\.j2$', '') }}"
|
||||
dest: "{{ appdata_base_path }}/{{ item.path | relpath(template_base_path + '/' + inventory_hostname) | regex_replace('\\.j2$', '') }}"
|
||||
mode: '0644'
|
||||
create_dirs: yes
|
||||
loop: "{{ host_files.files }}"
|
||||
@@ -33,7 +33,7 @@
|
||||
- name: Deploy static files (skip unchanged)
|
||||
ansible.builtin.copy:
|
||||
src: "{{ item.path }}"
|
||||
dest: "{{ appdata_base_path }}/{{ item.path | community.general.relpath(template_base_path + '/' + inventory_hostname) }}"
|
||||
dest: "{{ appdata_base_path }}/{{ item.path | relpath(template_base_path + '/' + inventory_hostname) }}"
|
||||
mode: '0644'
|
||||
remote_src: no
|
||||
create_dirs: yes
|
||||
|
||||
Reference in New Issue
Block a user