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:
@@ -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)))
|
||||
}
|
||||
Reference in New Issue
Block a user