destroy all
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-19 22:01:46 +01:00
parent baae7a8d7e
commit d74cdfa143
2 changed files with 3 additions and 16 deletions

View File

@@ -1,10 +1,10 @@
variable "serverctl_master_count" {
default = 1
default = 0
}
variable "serverctl_node_count" {
default = 1
default = 0
}
@@ -76,7 +76,7 @@ resource "local_file" "hosts_cfg" {
content = templatefile("${path.module}/templates/hosts.tpl",
{
serverctl_masters = hcloud_server.serverctl_master.*.ipv4_address
serverctl_nodes = hcloud_server.serverctl_node.*.ipv4_address
serverctl_nodes = hcloud_server.serverctl_node.*.ipv4_address
}
)
filename = "ansible/inventory/hosts.cfg"