Commit 0df0454c authored by Alex Hanselka's avatar Alex Hanselka
Browse files

feat: ipv6 rdns

parent ac25b831
Pipeline #3275 passed with stage
in 4 minutes and 24 seconds
......@@ -46,6 +46,12 @@ resource "hcloud_rdns" "ipv4" {
dns_ptr = "${var.node_name}.darkdna.net"
}
resource "hcloud_rdns" "ipv6" {
server_id = "${hcloud_server.generic-hcloud.id}"
ip_address = "${hcloud_server.generic-hcloud.ipv6_address}"
dns_ptr = "${var.node_name}.darkdna.net"
}
resource "ansible_host" "hcloud-host" {
inventory_hostname = "${hcloud_server.generic-hcloud.name}"
groups = "${concat(var.ansible_groups, var.hcloud_ansible_groups)}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment