Documentation
Everything about iac – from the first one-liner to your own app.
New here? The quick guide takes you from the Proxmox host to a running service in five minutes. The rest of the documentation goes through each step in detail.
How iac works
iac creates services on Proxmox VE as LXC containers or VMs, always on Debian 13. Each app is an Ansible role that describes its target state; iac-core runs it inside the guest:
Proxmox host Guest
──────────── ───────────────────────────────────────────────
ct.sh ── creates the container ─▶ establish the target state (Ansible, local)
vm.sh ── imports a tested image ▶ packages, configuration, firewall, services,
health check → /etc/iac/instance.json
update → Debian packages + the same target state
adopt.sh → check, back up, then the same target state
No matter how a guest comes to life, it ends up in one idempotent playbook. That’s why a container,
a VM from an image and an adopted installation look alike – and why update is safe to run at any
time.
Principles
- Debian only, packages from Debian wherever possible; anything else with a pinned version and a checksum.
- No controller, no inventory, no SSH push – Ansible only runs locally in the guest.
- No secrets in repositories or images – they are generated per instance.
- Small base – backup, monitoring, security tools and databases are optional modules.
- Extras stay optional – NetBox provisioning and the internal CA are additions; each app works fine without them.
Pages and sections marked WIP describe planned features that are not available yet.
Use
Quick guide
From the Proxmox host to a running service in five minutes – with modules and updates.
Proxmox node WIP
One command checks the Proxmox node for what iac needs and fixes a few known pitfalls – APT repositories, the Debian template, provisioner access, Intel e1000e hangs.
Install
Create a container or VM – with the dialog, without a dialog, or with Docker.
NetBox provisioning
Plan a guest in NetBox, and iac creates it on the Proxmox node and reports back – optional, the one-liners keep working without it.
Modules
Building blocks for every app – choose them when you create a guest or add them any time, in containers and VMs alike.
Update
One command for Debian, app, modules and configuration – nightly if you like, and a controlled move to a new Debian release.
The guest
What every container and VM comes with, what lives where and where your own changes belong.
Adopt
Bring an existing installation under iac – check, back up, align.
Security
What every guest is protected by, what iac verifies before it installs something – and what it trusts.
Certificates WIP
Certificates of your own CA for every guest – handed out by the NetBox provisioner or placed by hand. Every app keeps working without them.