diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-08-11 20:42:21 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-08-11 20:42:21 +0200 |
commit | b1fafb49c38377f4a985034cf5fc91d815224409 (patch) | |
tree | 28cdb3d452b7892856991e9424219536b533f7c0 | |
parent | 1cfbc01b6a3d657058856433ecd97ea9181e5019 (diff) | |
download | infra-b1fafb49c38377f4a985034cf5fc91d815224409.tar.gz infra-b1fafb49c38377f4a985034cf5fc91d815224409.tar.bz2 infra-b1fafb49c38377f4a985034cf5fc91d815224409.tar.xz infra-b1fafb49c38377f4a985034cf5fc91d815224409.zip |
Adding back conflatorio to the vpn.
-rw-r--r-- | ansible/inventory | 1 | ||||
-rw-r--r-- | ansible/wg0/group_vars/all/wireguard_wg0.yml | 2 | ||||
-rw-r--r-- | terraform/dns/vpn-cname.tf | 12 | ||||
-rw-r--r-- | 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" |