More minor tweaks and fixes... 🥱

This commit is contained in:
2025-08-30 22:39:24 -04:00
parent f6481f9b6e
commit b75dd9b0ba
6 changed files with 11 additions and 135 deletions
+2 -2
View File
@@ -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