Ansible for Proxmox VE · Dutch Proxmox Day 2026
formorer)alexander.wirt@credativ.de| 01 | Ansible in 30 minutes — inventory, ad-hoc, idempotency | 30 |
| 02 | Your first playbook — repositories, packages, time | 30 |
| 03 | Forming the cluster — what the title promises | 40 |
| Break | 10 | |
| 04 | From playbook to role — structure that survives | 25 |
| 05 | Operating the cluster — storage, users, a guest | 45 |
| 06 | Dynamic inventory — the cluster describes itself | 10 |
| 07 | Where to go next | 5 |
Those are topics for dedicated follow-ups.
| Machine | Role | Address |
|---|---|---|
desktop |
Ansible control node (your desktop) | 192.168.0.254 |
pve01 |
Proxmox VE node 1 → cluster primary | 192.168.0.1 |
pve02 |
Proxmox VE node 2 | 192.168.0.2 |
pve03 |
Proxmox VE node 3 | 192.168.0.3 |
Log in as root with the password password123 — the same on all three nodes, for SSH and for the web GUI on :8006.
Every participant has an identical, isolated set.
Everything is on the share already mounted on your desktop. Run it once:
~/ansible-proxmox — the project you work in~/ansible-venv — Ansible with the Proxmox collection, put on your PATH~/workshop-slides — these slidesThen open a new terminal, or the PATH change is not in effect.
Open it once and keep the tab. Every module has a handout — the reference, with more detail than these slides — and an exercise sheet. That page links all of them, plus the cheat sheet and the bonus exercises.
On desktop, in a terminal:
No password and no host key question: deploy.sh handled both. If any of these fail, say so now.
ansible --version looks wrongAnsible runs from a virtualenv on this desktop, and it should already be on your PATH. If the version is older than 2.17, or community.proxmox is missing, you are using the system Ansible instead:
Why a virtualenv: the collection community.proxmox 2.x needs a newer proxmoxer than Debian ships, and the packaged collection is missing two modules we use.
~/ansible-proxmox is not an empty directory:
TODO where the content goesWriting the files yourself works too. The exercise sheets contain everything either way.
credativ · Ansible for Proxmox VE