aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2025-06-07 20:24:19 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2025-06-07 20:24:19 +0200
commitfdf18a36869866cd2842a67ebda15ec903e0fbf2 (patch)
treebe0ef321f4071f924e93422bfdb5308bc3bff9df
parent51d963a6383fc7526d22a3c7cf96fa2944c47f7e (diff)
downloadinfra-fdf18a36869866cd2842a67ebda15ec903e0fbf2.tar.gz
infra-fdf18a36869866cd2842a67ebda15ec903e0fbf2.tar.bz2
infra-fdf18a36869866cd2842a67ebda15ec903e0fbf2.tar.xz
infra-fdf18a36869866cd2842a67ebda15ec903e0fbf2.zip
ipam: kjell & netboxHEADmaster
-rw-r--r--ansible/group_vars/all/ipam.yml2
-rw-r--r--terraform/dns/dn42.tf14
-rw-r--r--terraform/ipam6/ipam6.tf16
3 files changed, 32 insertions, 0 deletions
diff --git a/ansible/group_vars/all/ipam.yml b/ansible/group_vars/all/ipam.yml
index 0d49b1b..9a8efd6 100644
--- a/ansible/group_vars/all/ipam.yml
+++ b/ansible/group_vars/all/ipam.yml
@@ -29,12 +29,14 @@ ipam6:
range: "fdb1:4242:3538:2005::/64"
hosts:
coregonus: "fdb1:4242:3538:2005::ffff"
+ kjell: "fdb1:4242:3538:2005:2f0:cbff:fefe:d98c/64"
coregonus_docker:
range: "fdb1:4242:3538:2005:df01:676a:ec28:0a00/120"
kv24_pub:
range: "2a01:799:111d:1801::/64"
hosts:
ha-kv24: "fdb1:4242:3538:2005:c534:9d54:8212:1ced/64"
+ netbox: "fdb1:4242:3538:2005:be24:11ff:febb:5c7f/64"
kv24_dn42:
range: "fdb1:4242:3538:2006::/64"
hosts:
diff --git a/terraform/dns/dn42.tf b/terraform/dns/dn42.tf
index 45fb19d..8c27ec1 100644
--- a/terraform/dns/dn42.tf
+++ b/terraform/dns/dn42.tf
@@ -49,6 +49,13 @@ resource "linode_domain_record" "dn42-hash" {
target = "fdb1:4242:3538:2007::ffff"
}
+resource "linode_domain_record" "dn42-kjell" {
+ domain_id = linode_domain.root.id
+ name = "kjell.dn42"
+ record_type = "AAAA"
+ target = "fdb1:4242:3538:2005:2f0:cbff:fefe:d98c"
+}
+
resource "linode_domain_record" "dn42-knot" {
domain_id = linode_domain.root.id
name = "knot.dn42"
@@ -77,6 +84,13 @@ resource "linode_domain_record" "dn42-lhn2pi" {
target = "fdb1:4242:3538:2008::ffff"
}
+resource "linode_domain_record" "dn42-netbox" {
+ domain_id = linode_domain.root.id
+ name = "netbox.dn42"
+ record_type = "AAAA"
+ target = "fdb1:4242:3538:2005:be24:11ff:febb:5c7f"
+}
+
resource "linode_domain_record" "dn42-node1" {
domain_id = linode_domain.root.id
name = "node1.dn42"
diff --git a/terraform/ipam6/ipam6.tf b/terraform/ipam6/ipam6.tf
index 79a350a..355ff4b 100644
--- a/terraform/ipam6/ipam6.tf
+++ b/terraform/ipam6/ipam6.tf
@@ -63,6 +63,10 @@ output "networks" {
address : "fdb1:4242:3538:2005::ffff"
prefix : "128"
}
+ kjell = {
+ address : "fdb1:4242:3538:2005:2f0:cbff:fefe:d98c"
+ prefix : "64"
+ }
}
}
coregonus_docker = {
@@ -81,6 +85,10 @@ output "networks" {
address : "fdb1:4242:3538:2005:c534:9d54:8212:1ced"
prefix : "64"
}
+ netbox = {
+ address : "fdb1:4242:3538:2005:be24:11ff:febb:5c7f"
+ prefix : "64"
+ }
}
}
kv24_dn42 = {
@@ -189,10 +197,18 @@ output "hosts" {
address : "fdb1:4242:3538:2005::ffff"
prefix : "128"
}
+ kjell = {
+ address : "fdb1:4242:3538:2005:2f0:cbff:fefe:d98c"
+ prefix : "64"
+ }
ha-kv24 = {
address : "fdb1:4242:3538:2005:c534:9d54:8212:1ced"
prefix : "64"
}
+ netbox = {
+ address : "fdb1:4242:3538:2005:be24:11ff:febb:5c7f"
+ prefix : "64"
+ }
kv24ix = {
address : "fdb1:4242:3538:2006::ffff"
prefix : "128"