Fix path references
This commit is contained in:
@@ -9,9 +9,9 @@
|
|||||||
- name: "Build file lists for {{ var_prefix }}"
|
- name: "Build file lists for {{ var_prefix }}"
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
"{{ var_prefix }}_files": "{{ lookup('community.general.filetree',
|
"{{ var_prefix }}_files": "{{ lookup('community.general.filetree',
|
||||||
role_path ~ '/' ~ (subdir | default(''))) | selectattr('state', 'equalto', 'file') | rejectattr('path', 'match', '.*\\.j2$') | list }}"
|
role_path ~ '/' ~ (subdir | default('')), wantlist=True) | selectattr('state', 'equalto', 'file') | rejectattr('path', 'match', '.*\\.j2$') | list }}"
|
||||||
"{{ var_prefix }}_templates": "{{ lookup('community.general.filetree',
|
"{{ var_prefix }}_templates": "{{ lookup('community.general.filetree',
|
||||||
role_path ~ '/' ~ (subdir | default(''))) | selectattr('state', 'equalto', 'file') | selectattr('path', 'match', '.*\\.j2$') | list }}"
|
role_path ~ '/' ~ (subdir | default('')), wantlist=True) | selectattr('state', 'equalto', 'file') | selectattr('path', 'match', '.*\\.j2$') | list }}"
|
||||||
|
|
||||||
- name: "Ensure directories exist for {{ var_prefix }}"
|
- name: "Ensure directories exist for {{ var_prefix }}"
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|||||||
@@ -41,6 +41,6 @@
|
|||||||
- name: Deploy quadlets using fedora.linux_system_roles.podman
|
- name: Deploy quadlets using fedora.linux_system_roles.podman
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: fedora.linux_system_roles.podman
|
name: fedora.linux_system_roles.podman
|
||||||
vars:
|
vars:
|
||||||
podman_quadlet_specs: "{{ quadlets_specs }}"
|
podman_quadlet_specs: "{{ quadlets_specs }}"
|
||||||
when: quadlets_specs is defined and quadlets_specs | length > 0
|
when: quadlets_specs is defined and quadlets_specs | length > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user