feat: Moves playbook into resources of cli-client.

This commit is contained in:
2024-12-12 19:39:52 -05:00
parent ba1e61d99e
commit 5f4ef3b5b5
31 changed files with 1076 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
---
# This role is used internally to parse template variables, depending on
# what is supplied.
#
- name: Set default template path.
ansible.builtin.set_fact:
repo_template_path: "{{ build_dir }}/template"
tags:
- always
- name: Parse template path.
ansible.builtin.set_fact:
template_dir: "{{ template.path | default(repo_template_path) }}"
tags:
- always
- name: Parse template vars path.
ansible.builtin.set_fact:
template_vars_path: "{{ template_dir }}/{{ template.vars | default('repo_vars') }}"
tags:
- always