From e73dcf16e39050de11c36e2cec5b5d04e832b133 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Mon, 26 Feb 2024 06:33:45 +0100 Subject: [PATCH] change a bunch of nodes to use their ipv6 address as hostname --- nodes/home.hass.toml | 3 ++- nodes/home/nas.py | 2 +- nodes/home/router.py | 2 +- nodes/ns-ghirahim.toml | 2 +- nodes/ns-mephisto.toml | 2 +- nodes/ns-sargeras.toml | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/nodes/home.hass.toml b/nodes/home.hass.toml index fab3829..7e689b0 100644 --- a/nodes/home.hass.toml +++ b/nodes/home.hass.toml @@ -1,4 +1,4 @@ -hostname = "172.19.138.25" +hostname = "fd90:2017:0:1138::25" bundles = [ 'homeassistant', 'nginx' @@ -25,6 +25,7 @@ api_secret = 'encrypt$gAAAAABjpyuqXLoilokQW5c0zV8shHcOzN1zkEbS-I6WAAX-xDO_OF33Yb restrict-to = [ '172.19.136.0/25', '172.19.138.0/24', + 'fd90:2017::/32', ] [metadata.nginx.vhosts.homeassistant] diff --git a/nodes/home/nas.py b/nodes/home/nas.py index 9825874..33bc31f 100644 --- a/nodes/home/nas.py +++ b/nodes/home/nas.py @@ -1,7 +1,7 @@ # Dell Local Node Manager running on nodes['home.nas'] = { - 'hostname': '172.19.138.20', + 'hostname': 'fd90:2017:0:1138::20', 'bundles': { 'backup-client', 'dm-crypt', diff --git a/nodes/home/router.py b/nodes/home/router.py index a239cb0..08e1fbf 100644 --- a/nodes/home/router.py +++ b/nodes/home/router.py @@ -1,5 +1,5 @@ nodes['home.router'] = { - 'hostname': '172.19.138.1', + 'hostname': 'fd90:2017:0:1138::1', 'bundles': { 'bird', 'kea-dhcp-server', diff --git a/nodes/ns-ghirahim.toml b/nodes/ns-ghirahim.toml index a8581c6..1b58a62 100644 --- a/nodes/ns-ghirahim.toml +++ b/nodes/ns-ghirahim.toml @@ -1,4 +1,4 @@ -hostname = "46.101.91.6" +hostname = "2a03:b0c0:1:d0::bc2:6001" groups = [ "debian-bullseye", "dns", diff --git a/nodes/ns-mephisto.toml b/nodes/ns-mephisto.toml index 88f253e..9794b41 100644 --- a/nodes/ns-mephisto.toml +++ b/nodes/ns-mephisto.toml @@ -1,4 +1,4 @@ -hostname = "82.165.52.168" +hostname = "2001:8d8:1801:7d4::1" bundles = [ "nodejs", "powerdnsadmin", diff --git a/nodes/ns-sargeras.toml b/nodes/ns-sargeras.toml index 53f64b0..2a24023 100644 --- a/nodes/ns-sargeras.toml +++ b/nodes/ns-sargeras.toml @@ -1,4 +1,4 @@ -hostname = "46.102.156.104" +hostname = "2a0d:f302:113:73e6::1" groups = [ "debian-bookworm", "dns",