feat: Changes template_dir to template in build-project
This commit is contained in:
@@ -17,12 +17,12 @@
|
||||
|
||||
- name: Check for repo vars directory.
|
||||
ansible.builtin.stat:
|
||||
path: "{{ template.path }}/{{ template_dir.vars }}"
|
||||
path: "{{ template.path }}/{{ template.vars }}"
|
||||
register: repo_vars
|
||||
|
||||
- name: Load repo vars if available.
|
||||
ansible.builtin.include_vars:
|
||||
dir: "{{ template.path }}/{{ template_dir.vars }}"
|
||||
dir: "{{ template.path }}/{{ template.vars }}"
|
||||
when: repo_vars.stat.isdir is defined
|
||||
|
||||
- name: Debug on_setup.
|
||||
|
||||
Reference in New Issue
Block a user