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

@@ -4,13 +4,24 @@
roles:
- role: setup-project
tags:
- setup-project
- never # force passing tags to run.
vars:
template_repo:
repo: "https://git.housh.dev/michael/ansible-hpa-playbook.git"
dest: "/tmp/playbook-clone"
version: "main"
template_dir:
path: "/tmp/hpa-playbook-tmp"
vars: "repo_vars"
output_dir: "/tmp/hpa-setup-project-tmp"
- role: repo_template
- role: repo-template
tags:
- repo-template
- never # force passing tags to run.
- role: build-project
tags:
- build-project
- never # force passing tags to run.
vars:
template_dir:
path: "/tmp/hpa-playbook-tmp"
vars: "repo_vars"
project_dir: "/tmp/hpa-setup-project-tmp"