aboutsummaryrefslogtreecommitdiff
path: root/opentofu/inventory.tf
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-02-18 21:03:00 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-02-18 21:03:00 +0100
commit1e1a8a1f3f4a8586072d3e31d2bef9c27786d448 (patch)
tree95b1618e62c971265f1df55131e1a784d2e3d873 /opentofu/inventory.tf
parent8af7efa1e03c1d37cf34197249e487348d382d82 (diff)
Replace proxmox provider telmate by bpg + remove k8s cluster (talos on the way)HEADmaster
Also changes the id of the packer images, now starting at the "end" (999), while VMs start at 100
Diffstat (limited to 'opentofu/inventory.tf')
-rw-r--r--opentofu/inventory.tf18
1 files changed, 0 insertions, 18 deletions
diff --git a/opentofu/inventory.tf b/opentofu/inventory.tf
deleted file mode 100644
index 16d183a..0000000
--- a/opentofu/inventory.tf
+++ /dev/null
@@ -1,18 +0,0 @@
-resource "local_file" "ansible_inventory" {
- filename = "${path.module}/inventory.ini"
- content = <<-EOT
- [kube_control_plane]
- ${module.k8s_control_plane.vm.default_ipv4_address}
-
- [etcd]
- ${module.k8s_control_plane.vm.default_ipv4_address}
-
- [kube_node]
- %{for vm in module.k8s_worker.vms}${vm.default_ipv4_address}
- %{endfor}
-
- [k8s_cluster:children]
- kube_control_plane
- kube_node
- EOT
-}