/homelab

Automation for deploying my homelab

Primary LanguageHCL

Homelab

Prerequisites

  1. an ansible user provisioned in proxmox
  2. an api token provisioned in proxmox
  3. NFS for storing our ISO's (truenas-nfs in proxmox)
    • I used TrueNAS Scale and created a pool called proxmox-data, cause I'm not creative at all.

Quickstart

1. Configure terraform

Create a terraform/terraform.tfvars using values from your proxmox api token:

pm_api_url="https://proxmox:8006/api2/json"
pm_api_token_id="token-n-smokin"
pm_api_token_secret="secret-secrets-are-no-fun"

2. Create the cluster

Create and bootstrap an environment via terraform!

cd terraform
terraform init

# live más
terraform apply -auto-approve

Docs for Nerds