aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/group_vars/all/ipam.yml6
-rw-r--r--ansible/inventory4
-rw-r--r--terraform/dns/dn42.tf7
-rw-r--r--terraform/ipam6/ipam6.tf36
4 files changed, 52 insertions, 1 deletions
diff --git a/ansible/group_vars/all/ipam.yml b/ansible/group_vars/all/ipam.yml
index 0bd919b..0430803 100644
--- a/ansible/group_vars/all/ipam.yml
+++ b/ansible/group_vars/all/ipam.yml
@@ -4,6 +4,7 @@
# 56: ffff:ffff:ffff:ff00::
# 60: ffff:ffff:ffff:fff0::
# 64: ffff:ffff:ffff:ffff::
+# 80: ffff:ffff:ffff:ffff:ffff:
ipam6:
networks:
bitraf_dn42:
@@ -46,6 +47,11 @@ ipam6:
lhn2pi: "fdb1:4242:3538:2008::ffff"
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"
+ danneri_cluster:
+ range: "fdb1:4242:3538:2009::/64"
+ danneri_service:
+ range: "fdb1:4242:3538:2010::/64"
k8s:
range: "fdb1:4242:3538:3000::/52"
diff --git a/ansible/inventory b/ansible/inventory
index 845580f..cff290b 100644
--- a/ansible/inventory
+++ b/ansible/inventory
@@ -47,7 +47,9 @@ all:
coregonus:
ansible_host: 192.168.10.190
danneri:
- ansible_host: 192.168.100.103
+ ansible_host: danneri.dn42.trygvis.io
+ unifi:
+ ansible_host: unifi.dn42.trygvis.io
node1:
ansible_host: 9859f51e-1e3e-4c05-a826-b7fbe18d91be.pub.instances.scw.cloud
diff --git a/terraform/dns/dn42.tf b/terraform/dns/dn42.tf
index 9363b60..35bc26e 100644
--- a/terraform/dns/dn42.tf
+++ b/terraform/dns/dn42.tf
@@ -62,3 +62,10 @@ resource "linode_domain_record" "dn42-node2" {
record_type = "AAAA"
target = "fdb1:4242:3538:2003::ffff"
}
+
+resource "linode_domain_record" "dn42-unifi" {
+ domain_id = linode_domain.root.id
+ name = "unifi.dn42"
+ record_type = "AAAA"
+ target = "fdb1:4242:3538:2008:5054:ff:fe4d:96c"
+}
diff --git a/terraform/ipam6/ipam6.tf b/terraform/ipam6/ipam6.tf
index 62fd1d1..0cdd754 100644
--- a/terraform/ipam6/ipam6.tf
+++ b/terraform/ipam6/ipam6.tf
@@ -118,6 +118,38 @@ output "networks" {
address : "fdb1:4242:3538:2008:9422:d355:95b7:f170"
prefix : "128"
}
+ unifi = {
+ address : "fdb1:4242:3538:2008:5054:ff:fe4d:96c"
+ prefix : "128"
+ }
+ }
+ }
+ danneri_cluster = {
+ range = "fdb1:4242:3538:3009::/112"
+ address = "fdb1:4242:3538:3009::"
+ prefix = "112"
+ hosts = {
+ }
+ }
+ danneri_service = {
+ range = "fdb1:4242:3538:300a::/100"
+ address = "fdb1:4242:3538:300a::"
+ prefix = "100"
+ hosts = {
+ }
+ }
+ k8s = {
+ range = "fdb1:4242:3538:3000::/52"
+ address = "fdb1:4242:3538:3000::"
+ prefix = "52"
+ hosts = {
+ }
+ }
+ danneri_service2 = {
+ range = "fdb1:4242:3538:300a::/112"
+ address = "fdb1:4242:3538:300a::"
+ prefix = "112"
+ hosts = {
}
}
dn42 = {
@@ -168,5 +200,9 @@ output "hosts" {
address : "fdb1:4242:3538:2008:9422:d355:95b7:f170"
prefix : "128"
}
+ unifi = {
+ address : "fdb1:4242:3538:2008:5054:ff:fe4d:96c"
+ prefix : "128"
+ }
}
}