Homelab provisioning using opentofu + ansible playbooks. Services are (to be) run on Podman Quadlets.
files | ||
roles | ||
.gitignore | ||
.terraform.lock.hcl | ||
deploy.yaml | ||
inventory.yaml | ||
LICENSE | ||
main.tofu | ||
provision.yaml | ||
README.md |
proxmox-vms
Homelab provisioning using opentofu + ansible playbooks. Services are run on Podman Quadlets on Fedora Cloud VMs.
Usage
tofu apply
Wait until initial cloud-init provisioning is done and the VM reboots once. Then you can run the ansible playbook:
ansible-playbook -i inventory.yaml provision.yaml
Copy over /secrets
and /srv
directories.
Run the ansible playbook:
ansible-playbook -i inventory.yaml deploy.yaml
dnf and podman are automatically updated, the dnf update also triggers a runsc update. SSH keys are provisioned by cloud-init, alongside disabling copy on write for BTRFS since the Proxmox Host uses ZFS, and there is no easy way to swap out Fedora cloud's default filesystem.