platform: OpenTofu/Ansible für Proxmox, CI, Makefile, Doku-Abgleich

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 00:54:23 +02:00
co-authored by Claude Opus 5.5
parent cb5a413169
commit f22eaa8449
27 changed files with 623 additions and 6 deletions
+22
View File
@@ -0,0 +1,22 @@
variable "site" {
description = "Name des Standorts unter sites/"
type = string
default = "knaster"
}
variable "proxmox_api_token" {
description = "API-Token im Format user@realm!tokenid=secret"
type = string
sensitive = true
}
variable "proxmox_insecure" {
description = "Selbstsigniertes Zertifikat akzeptieren"
type = bool
default = true
}
locals {
site = yamldecode(file("${path.module}/../../../sites/${var.site}/proxmox.yaml"))
ssh_key = trimspace(file(pathexpand(local.site.cluster.ssh_public_key_file)))
}