I spent the evening refining my Proxmox homelab setup. The goal was to automate the creation of clean, reusable Ubuntu templates using Ansible. After a few failed runs, I finally got it working perfectly.
The task involved downloading cloud images, customizing them with cloud-init and QEMU guest agent, and converting them into ready-to-clone templates. I also learned how Ubuntu versions past their end of life break automation pipelines because their repositories move to old-releases.
Now my homelab can spin up new virtual machines automatically from templates of Ubuntu 22.04 and 24.04. The setup is reliable, repeatable, and one step closer to a fully automated infrastructure workflow that connects Proxmox, Ansible, and Terraform.
Next, I plan to write my own playbook to handle VM creation and configuration end to end.
What are your thoughts on this?