From b1fafb49c38377f4a985034cf5fc91d815224409 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 11 Aug 2024 20:42:21 +0200 Subject: Adding back conflatorio to the vpn. --- ansible/inventory | 1 + ansible/wg0/group_vars/all/wireguard_wg0.yml | 2 +- terraform/dns/vpn-cname.tf | 12 ++++++------ terraform/dns/vpn.tf | 6 ++++++ 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ansible/inventory b/ansible/inventory index 881592a..b81bc5b 100644 --- a/ansible/inventory +++ b/ansible/inventory @@ -177,6 +177,7 @@ all: hosts: akili: astyanax: + conflatorio: hash: knot: kv24ix: diff --git a/ansible/wg0/group_vars/all/wireguard_wg0.yml b/ansible/wg0/group_vars/all/wireguard_wg0.yml index 614270a..109de3d 100644 --- a/ansible/wg0/group_vars/all/wireguard_wg0.yml +++ b/ansible/wg0/group_vars/all/wireguard_wg0.yml @@ -16,7 +16,7 @@ wireguard_wg0: ipv4: 192.168.60.2 ipv6: fdf3:aad9:a885:0b3a::2 conflatorio: - state: absent + state: present ipv6: fdf3:aad9:a885:0b3a::3 arius: state: present diff --git a/terraform/dns/vpn-cname.tf b/terraform/dns/vpn-cname.tf index bbd411a..8887988 100644 --- a/terraform/dns/vpn-cname.tf +++ b/terraform/dns/vpn-cname.tf @@ -1,9 +1,9 @@ -resource "linode_domain_record" "vpn-conflatorio" { - domain_id = linode_domain.root.id - name = "conflatorio.vpn" - record_type = "AAAA" - target = "fdf3:aad9:a885:77dd::2" -} +#resource "linode_domain_record" "vpn-conflatorio" { +# domain_id = linode_domain.root.id +# name = "conflatorio.vpn" +# record_type = "AAAA" +# target = "fdf3:aad9:a885:77dd::2" +#} resource "linode_domain_record" "vpn-unifi" { domain_id = linode_domain.root.id diff --git a/terraform/dns/vpn.tf b/terraform/dns/vpn.tf index ca8f7ad..58efa5c 100644 --- a/terraform/dns/vpn.tf +++ b/terraform/dns/vpn.tf @@ -5,6 +5,12 @@ resource "linode_domain_record" "vpn-knot" { record_type = "AAAA" target = "fdf3:aad9:a885:0b3a::1" } +resource "linode_domain_record" "vpn-conflatorio" { + domain_id = linode_domain.root.id + name = "conflatorio.vpn" + record_type = "AAAA" + target = "fdf3:aad9:a885:0b3a::3" +} resource "linode_domain_record" "vpn-arius" { domain_id = linode_domain.root.id name = "arius.vpn" -- cgit v1.2.3