Manifests
Core Manifest
Proxmox host, guest, target state – and why every guest looks alike, however it was made.
haypack 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:
flowchart LR
subgraph host["Proxmox host"]
ct["ct.sh"]
vm["vm.sh"]
end
subgraph guest["Guest – Debian 13"]
play["Target state<br/>Ansible, local in the guest"]
state["packages · configuration · firewall · services<br/>health check → /etc/iac/instance.json"]
play --> state
end
ct -- "creates the container" --> play
vm -- "imports a tested image" --> play
upd["update<br/>Debian packages + the same target state"] --> play
adopt["adopt.sh<br/>check, back up, then the same target state"] --> playNo 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.
The name
haypack was called iac until 2026. The technical names keep it for now – the repositories
(iac-core, iac-<app>), iac.json, the paths in a guest (/etc/iac/), commands such as iac-tls
and the tags in Proxmox and NetBox – so that every existing guest keeps working.
Das Core-Manifest beschreibt die gemeinsame Grundlage von haypack. Das Security-Manifest erklärt das Schutzmodell, das App-Manifest die App-Definition.
haypack stellt Dienste auf Proxmox VE als LXC-Container oder virtuelle Maschinen auf Debian 13 bereit. Jede App ist eine Ansible-Rolle, die ihren Zielzustand beschreibt. iac-core führt sie lokal im Gast aus.
flowchart LR host["Proxmox-Host"] --> ct["ct.sh: Container erstellen"] host --> vm["vm.sh: getestetes Image importieren"] ct --> play["Gast: Debian 13, Ansible lokal"] vm --> play upd["update"] --> play adopt["adopt.sh: prüfen und sichern"] --> play play --> state["Pakete, Konfiguration, Firewall, Dienste und Funktionstest"]
Container, VM-Image und übernommene Installation münden in dasselbe idempotente Playbook. Wiederholte Ausführung stellt den Zielzustand erneut her; auch update verwendet diesen Ablauf.
Grundsätze
- Debian als Grundlage: Pakete möglichst aus Debian; andere Downloads mit festgelegter Version und Prüfsumme.
- Kein Controller und kein SSH-Push: Ansible läuft ausschließlich lokal im Gast.
- Keine Geheimnisse in Repository oder Image: Sie entstehen pro Instanz.
- Kleine Basis: Backups, Monitoring, Sicherheitswerkzeuge und Datenbanken werden über optionale Module ergänzt.
- Erweiterungen bleiben optional: NetBox-Bereitstellung und interne CA ergänzen die Basis. Apps funktionieren auch ohne sie.
Der Name
haypack hieß bis 2026 iac. Technische Bezeichnungen bleiben vorerst erhalten: die Repositories iac-core und iac-<app>, iac.json, Pfade wie /etc/iac/, Befehle wie iac-tls und Tags in Proxmox und NetBox. Bestehende Gäste funktionieren dadurch weiter.