Ansible for Proxmox VE

The complete material for a 3.5-hour hands-on workshop: forming a Proxmox VE 9 cluster with Ansible and then operating it. Slides, handouts, exercise sheets, a cheat sheet, and two runnable Ansible projects.

Participants start with three freshly installed nodes and an empty directory. Every module ends with an exercise, and roughly half the time is spent in them. The material is single-source: the same Quarto documents produce a participant version and a trainer version, and the difference is what the trainer version adds — speaker notes and a worked solution for every task.

Two versions of the same thing

Participant

What people get in the room.

Trainer

The same, plus solutions and speaker notes.

Modules

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

The handout is the reference and carries the depth: the REST calls behind each module, links into the API viewer, failure modes. The exercise sheet is deliberately short.

The two Ansible projects

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.