feat: Initial roles
This commit is contained in:
31
roles/build-project/defaults/main.yml
Normal file
31
roles/build-project/defaults/main.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
build_dir_name: ".build"
|
||||
build_dir: "{{ project_dir }}/{{ build_dir_name }}"
|
||||
|
||||
project_dir: "{{ lookup('env', 'PWD') }}"
|
||||
project_vars_dir: "{{ project_dir }}"
|
||||
|
||||
# template_dir:
|
||||
# path: "/path/to/template/dir
|
||||
# vars: "repo_vars"
|
||||
# repo: (optional if using a repo as a template)
|
||||
template_dir:
|
||||
path: "/path/to/template/dir"
|
||||
vars: "repo_vars"
|
||||
|
||||
# When using a repository as a template dir. In general, it's
|
||||
# probably best to pin to a particular version of the repo template
|
||||
# instead of a branch.
|
||||
#
|
||||
# repo:
|
||||
# url: "https://example.com/repo.git"
|
||||
# version: "main"
|
||||
repo: {}
|
||||
|
||||
copy_on_build:
|
||||
- "{{ template_dir.path }}/head.tex"
|
||||
- "{{ template_dir.path }}/Definitions.md"
|
||||
|
||||
template_on_build:
|
||||
- "{{ project_dir }}/Report.md"
|
||||
- "{{ template_dir.path }}/footer.tex"
|
||||
Reference in New Issue
Block a user