diff options
Diffstat (limited to 'opentofu/inventory.tf')
-rw-r--r-- | opentofu/inventory.tf | 18 |
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 -} |