mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 20:26:51 +02:00
9 lines
304 B
Terraform
9 lines
304 B
Terraform
output "ansible_inventory" {
|
|
value = templatefile("${path.module}/templates/inventory.tftpl", {
|
|
devops = hcloud_server.server_devops.ipv4_address,
|
|
k8s_servers = concat(
|
|
tolist([hcloud_server.server_k8s_test.ipv4_address]),
|
|
# module.test_cluster.node_ipv6_addresses
|
|
)
|
|
})
|
|
} |