Ansible for Proxmox VE

Forming a Proxmox VE 9 cluster with Ansible, and then operating it. Three and a half hours, bottom to top, roughly half of it hands-on.

Start here

Modules

 ModuleSlidesHandoutExercise
00Welcome & the labHTML— —— —
01Ansible in 30 minutesHTMLHTML PDFHTML PDF
02Preparing the nodesHTMLHTML PDFHTML PDF
03Forming the clusterHTMLHTML PDFHTML PDF
04From playbook to roleHTMLHTML PDFHTML PDF
05Operating the clusterHTMLHTML PDFHTML PDF
06Dynamic inventoryHTMLHTML PDFHTML PDF
07Where to go nextHTML— —— —

Working through it

Each module has a handout — the reference, with more detail than the slides, the REST calls underneath and links into the API viewer — and a short exercise sheet. Do the exercise from the sheet; reach for the handout when you want to know why.

The starter project is what you begin with: inventory and configuration complete, every playbook a skeleton with a TODO where the content goes.

If you finish early

The lab it assumes

Three Proxmox VE 9 nodes on 192.168.0.1–3 and a Linux desktop as the control node. Every participant gets an identical, isolated set, which is why the starter project ships a ready-made inventory.

The credentials in the material belong to that throwaway environment. It is not reachable from outside and is deleted after each delivery. Point inventory/hosts.yml at your own nodes to run any of this elsewhere.