From 02a88f010eddb40a60e1a2fc94751d9359e704d4 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Fri, 5 May 2023 16:06:13 +0200 Subject: [PATCH 1/4] Add k3s hosts to inventory --- inventory.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/inventory.yml b/inventory.yml index b2ed6cc..2fcf2b3 100644 --- a/inventory.yml +++ b/inventory.yml @@ -11,6 +11,12 @@ all: pottwal.n39.eu: radon.n39.eu: unicorn.n39.eu: + k3s-c1.n39.eu: + k3s-c2.n39.eu: + k3s-c3.n39.eu: + k3s-w1.n39.eu: + k3s-w2.n39.eu: + k3s-w3.n39.eu: children: docker_host: @@ -28,6 +34,12 @@ all: pottwal.n39.eu: radon.n39.eu: unicorn.n39.eu: + k3s-c1.n39.eu: + k3s-c2.n39.eu: + k3s-c3.n39.eu: + k3s-w1.n39.eu: + k3s-w2.n39.eu: + k3s-w3.n39.eu: location_space: hosts: beaker.n39.eu: @@ -40,6 +52,12 @@ all: radon.n39.eu: wittgenstein.n39.eu: unicorn.n39.eu: + k3s-c1.n39.eu: + k3s-c2.n39.eu: + k3s-c3.n39.eu: + k3s-w1.n39.eu: + k3s-w2.n39.eu: + k3s-w3.n39.eu: location_internet: hosts: tau.netz39.de: From 1da1dd0eb2f2e88d02a3396dff699ba0e322de62 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Fri, 5 May 2023 16:12:28 +0200 Subject: [PATCH 2/4] Add k3s host vars Configuring distincs admin addresses and MAC addresses. --- host_vars/k3s-c1.n39.eu/vars.yml | 2 ++ host_vars/k3s-c2.n39.eu/vars.yml | 2 ++ host_vars/k3s-c3.n39.eu/vars.yml | 2 ++ host_vars/k3s-w1.n39.eu/vars.yml | 2 ++ host_vars/k3s-w2.n39.eu/vars.yml | 2 ++ host_vars/k3s-w3.n39.eu/vars.yml | 2 ++ 6 files changed, 12 insertions(+) create mode 100644 host_vars/k3s-c1.n39.eu/vars.yml create mode 100644 host_vars/k3s-c2.n39.eu/vars.yml create mode 100644 host_vars/k3s-c3.n39.eu/vars.yml create mode 100644 host_vars/k3s-w1.n39.eu/vars.yml create mode 100644 host_vars/k3s-w2.n39.eu/vars.yml create mode 100644 host_vars/k3s-w3.n39.eu/vars.yml diff --git a/host_vars/k3s-c1.n39.eu/vars.yml b/host_vars/k3s-c1.n39.eu/vars.yml new file mode 100644 index 0000000..ef8c858 --- /dev/null +++ b/host_vars/k3s-c1.n39.eu/vars.yml @@ -0,0 +1,2 @@ +--- +mac: "1E:63:F3:95:09:40" diff --git a/host_vars/k3s-c2.n39.eu/vars.yml b/host_vars/k3s-c2.n39.eu/vars.yml new file mode 100644 index 0000000..f3ac1db --- /dev/null +++ b/host_vars/k3s-c2.n39.eu/vars.yml @@ -0,0 +1,2 @@ +--- +mac: "1E:7C:3B:46:89:6B" diff --git a/host_vars/k3s-c3.n39.eu/vars.yml b/host_vars/k3s-c3.n39.eu/vars.yml new file mode 100644 index 0000000..eb7351a --- /dev/null +++ b/host_vars/k3s-c3.n39.eu/vars.yml @@ -0,0 +1,2 @@ +--- +mac: "92:01:40:6D:F6:68" diff --git a/host_vars/k3s-w1.n39.eu/vars.yml b/host_vars/k3s-w1.n39.eu/vars.yml new file mode 100644 index 0000000..cd6e098 --- /dev/null +++ b/host_vars/k3s-w1.n39.eu/vars.yml @@ -0,0 +1,2 @@ +--- +mac: "12:D8:CD:E4:69:2A" diff --git a/host_vars/k3s-w2.n39.eu/vars.yml b/host_vars/k3s-w2.n39.eu/vars.yml new file mode 100644 index 0000000..85f29e2 --- /dev/null +++ b/host_vars/k3s-w2.n39.eu/vars.yml @@ -0,0 +1,2 @@ +--- +mac: "22:A3:55:21:C2:86" diff --git a/host_vars/k3s-w3.n39.eu/vars.yml b/host_vars/k3s-w3.n39.eu/vars.yml new file mode 100644 index 0000000..e03f15e --- /dev/null +++ b/host_vars/k3s-w3.n39.eu/vars.yml @@ -0,0 +1,2 @@ +--- +mac: "1A:1F:1B:40:18:E6" From f9999c9251738d64be70aecd777e3431f8df3cf1 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Fri, 5 May 2023 16:20:36 +0200 Subject: [PATCH 3/4] Add group k3s to inventory --- inventory.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/inventory.yml b/inventory.yml index 2fcf2b3..ef482de 100644 --- a/inventory.yml +++ b/inventory.yml @@ -61,3 +61,11 @@ all: location_internet: hosts: tau.netz39.de: + k3s: + hosts: + k3s-c1.n39.eu: + k3s-c2.n39.eu: + k3s-c3.n39.eu: + k3s-w1.n39.eu: + k3s-w2.n39.eu: + k3s-w3.n39.eu: From fb6ff4ec29760e424c5a79e3c028e0f24fb20575 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Fri, 5 May 2023 16:21:07 +0200 Subject: [PATCH 4/4] Add group config for k3s --- group_vars/k3s/vars.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 group_vars/k3s/vars.yml diff --git a/group_vars/k3s/vars.yml b/group_vars/k3s/vars.yml new file mode 100644 index 0000000..4ab12a5 --- /dev/null +++ b/group_vars/k3s/vars.yml @@ -0,0 +1,2 @@ +--- +server_admin: "admin+k3s@netz39.de"