47d6aceca299896c6f6f8c368006273388ceb329
📖 Overview
This repository provisions and manages the GitHub Self-Hosted Runner for the Comprofix Homelab Infrastructure. This repo is designed to be run manually to build and setup the runner when requuired.
Built using Infrastructure as Code (IaC) with OpenTofu and Ansible
🚀 Features
- Declarative infrastructure management with OpenTofu and Ansible
- Remote state stored in PostgreSQL backend
- Secure injection of secrets into
terraform.auto.tfvars
🔄 Usage
- Checkout repo
- From the opentofu folder, generate
terraform.auto.tfvars
using the suppliedprepareEnv.sh
- Run
tofu init
,tofu fmt
,tofu validate
- Execute
tofu plan
- If successful, run
tofu apply
- From the ansible folder, run
ansible-playbook main.yml
Description
Languages
HCL
58.7%
Shell
41.3%