aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2025-01-01 20:51:45 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2025-01-01 20:51:45 +0100
commitd1950b1bc93685362b2bf33a8c223377650fda02 (patch)
tree9be13815d7ce2ee08f4879e1795fceee7081b1c9
parent485148048209ae47c1dbf0f4df6f9586335561c4 (diff)
downloadinfra-d1950b1bc93685362b2bf33a8c223377650fda02.tar.gz
infra-d1950b1bc93685362b2bf33a8c223377650fda02.tar.bz2
infra-d1950b1bc93685362b2bf33a8c223377650fda02.tar.xz
infra-d1950b1bc93685362b2bf33a8c223377650fda02.zip
ha-lhn2
-rw-r--r--ansible/group_vars/all/ipam.yml1
-rw-r--r--terraform/dns/dn42.tf7
-rw-r--r--terraform/dns/trygvis.tf7
-rw-r--r--terraform/ipam6/ipam6.tf8
4 files changed, 23 insertions, 0 deletions
diff --git a/ansible/group_vars/all/ipam.yml b/ansible/group_vars/all/ipam.yml
index 7c3bd0b..96923bc 100644
--- a/ansible/group_vars/all/ipam.yml
+++ b/ansible/group_vars/all/ipam.yml
@@ -50,6 +50,7 @@ ipam6:
hosts:
lhn2pi: "fdb1:4242:3538:2008::ffff"
lhn2-z2m: "fdb1:4242:3538:2008:9aed:e460:1711:07dd"
+ ha-lhn2: "fdb1:4242:3538:2008:d6f6:9b99:6a53:da1e"
conflatorio: "fdb1:4242:3538:2008:8042:32ff:fe0c:7161"
danneri: "fdb1:4242:3538:2008:9422:d355:95b7:f170"
unifi: "fdb1:4242:3538:2008:5054:ff:fe4d:96c"
diff --git a/terraform/dns/dn42.tf b/terraform/dns/dn42.tf
index 1f27821..04f67cb 100644
--- a/terraform/dns/dn42.tf
+++ b/terraform/dns/dn42.tf
@@ -28,6 +28,13 @@ resource "linode_domain_record" "dn42-ha-kv24" {
target = "fdb1:4242:3538:2005:c534:9d54:8212:1ced"
}
+resource "linode_domain_record" "dn42-ha-lhn2" {
+ domain_id = linode_domain.root.id
+ name = "ha-lhn2.dn42"
+ record_type = "AAAA"
+ target = "fdb1:4242:3538:2008:d6f6:9b99:6a53:da1e"
+}
+
resource "linode_domain_record" "dn42-hash" {
domain_id = linode_domain.root.id
name = "hash.dn42"
diff --git a/terraform/dns/trygvis.tf b/terraform/dns/trygvis.tf
index 2a6752f..667ba83 100644
--- a/terraform/dns/trygvis.tf
+++ b/terraform/dns/trygvis.tf
@@ -165,6 +165,13 @@ resource "linode_domain_record" "kv24" {
target = "trygvis.io"
}
+resource "linode_domain_record" "lhn2" {
+ domain_id = linode_domain.root.id
+ name = "lhn2"
+ record_type = "CNAME"
+ target = "trygvis.io"
+}
+
# Aliases for vs.trygvis.io
resource "linode_domain_record" "nextcloud" {
domain_id = linode_domain.root.id
diff --git a/terraform/ipam6/ipam6.tf b/terraform/ipam6/ipam6.tf
index eada854..555504d 100644
--- a/terraform/ipam6/ipam6.tf
+++ b/terraform/ipam6/ipam6.tf
@@ -125,6 +125,10 @@ output "networks" {
address : "fdb1:4242:3538:2008:9aed:e460:1711:7dd"
prefix : "128"
}
+ ha-lhn2 = {
+ address : "fdb1:4242:3538:2008:d6f6:9b99:6a53:da1e"
+ prefix : "128"
+ }
conflatorio = {
address : "fdb1:4242:3538:2008:8042:32ff:fe0c:7161"
prefix : "128"
@@ -201,6 +205,10 @@ output "hosts" {
address : "fdb1:4242:3538:2008:9aed:e460:1711:7dd"
prefix : "128"
}
+ ha-lhn2 = {
+ address : "fdb1:4242:3538:2008:d6f6:9b99:6a53:da1e"
+ prefix : "128"
+ }
conflatorio = {
address : "fdb1:4242:3538:2008:8042:32ff:fe0c:7161"
prefix : "128"