added physical machines

This commit is contained in:
git
2026-04-21 08:43:15 +10:00
parent b422a55c02
commit b3cc235164
5 changed files with 147 additions and 110 deletions
@@ -7,3 +7,16 @@ output "proxmox_endpoint_configured" {
description = "Whether a non-empty endpoint has been provided."
value = var.proxmox_endpoint != ""
}
output "physical_hosts" {
description = "Physical host inventory used for documentation"
value = local.physical_hosts
}
output "infrastructure_inventory" {
description = "Combined infrastructure inventory"
value = {
physical_hosts = local.physical_hosts
}
}
+24
View File
@@ -0,0 +1,24 @@
locals {
physical_hosts = {
pve = {
hostname = "pve"
type = "physical"
role = "proxmox"
management_ip = "pve.sweet.home"
os_family = "debian"
hypervisor = "proxmox"
location = "home"
notes = "Primary Proxmox VE host"
}
raspberrypi = {
hostname = "raspberrypi"
type = "physical"
role = "edge"
management_ip = "raspberrypi.tail13f623.ts.net"
os_family = "debian"
hypervisor = null
location = "riverglades"
notes = "Raspberry Pi host"
}
}
}