feat: Initial roles

This commit is contained in:
2024-11-26 14:26:58 -05:00
parent 3a4285a397
commit 916e62f6e6
19 changed files with 203 additions and 44 deletions

View File

@@ -1,11 +1,27 @@
---
template_repo:
repo: "https://example.com/repo.git"
version: "main"
dest: "/path/to/clone"
# 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: {}
# The output directory to setup a project in.
output_dir: "{{ lookup('env', 'PWD') }}"
files_to_copy:
# Files that are copied from the template directory to the output
# directory.
copy_on_setup:
- "Report.md"
- "vars.yml"