Proxmox VE as IaC: recreatable cluster with OpenTofu and Ansible from zero
summary
Shows how to treat a Proxmox VE cluster as infrastructure-as-code by using OpenTofu to define access (users, roles, tokens) and to declare VM and LXC templates and lifecycle, then chaining Ansible to provision newly created VMs automatically. Works on a real cluster and provides a functional Git-tracked repository and end-to-end workflow to reproduce and recreate the entire Proxmox cluster from scratch.
AI-written summary · about
