renamed pve2 node to goose
This commit is contained in:
1 parent
d2bc9645d1
commit
8b8b6d1a3d
4 files changed
+17
-15
No files matched your search
@@ -54,13 +54,15 @@ module "proxmox" {
|
||||
}
|
||||
}
|
||||
|
||||
module "pve2" {
|
||||
|
||||
|
||||
module "goose" {
|
||||
source = "./opentofu/modules/proxmox_node"
|
||||
|
||||
node_name = var.hypervisors["pve2"].node_name
|
||||
storage = var.hypervisors["pve2"].storage
|
||||
lxc = try(var.nodes["pve2"].lxc, {})
|
||||
machines = try(var.nodes["pve2"].machines, {})
|
||||
node_name = var.hypervisors["goose"].node_name
|
||||
storage = var.hypervisors["goose"].storage
|
||||
lxc = try(var.nodes["goose"].lxc, {})
|
||||
machines = try(var.nodes["goose"].machines, {})
|
||||
search_domain = local.node_common.search_domain
|
||||
dns_nameservers = local.node_common.dns_nameservers
|
||||
ssh_key = local.node_common.ssh_key
|
||||
@@ -69,14 +71,14 @@ module "pve2" {
|
||||
ssh_private_key_path = local.node_common.ssh_private_key_path
|
||||
|
||||
providers = {
|
||||
proxmox = proxmox.pve2
|
||||
proxmox = proxmox.goose
|
||||
}
|
||||
}
|
||||
|
||||
locals {
|
||||
hv_hosts = {
|
||||
proxmox = { lxc = module.proxmox.lxc_hosts, vm = module.proxmox.vm_hosts }
|
||||
pve2 = { lxc = module.pve2.lxc_hosts, vm = module.pve2.vm_hosts }
|
||||
goose = { lxc = module.goose.lxc_hosts, vm = module.goose.vm_hosts }
|
||||
}
|
||||
|
||||
all_hosts = flatten([
|
||||
|
||||
Reference in new issue
Block a user