summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
Diffstat (limited to 'inventory')
-rw-r--r--inventory/group_vars/chaos-at-home/network.yml1
-rw-r--r--inventory/host_vars/ch-mc-pi.yml15
-rw-r--r--inventory/hosts.ini1
3 files changed, 17 insertions, 0 deletions
diff --git a/inventory/group_vars/chaos-at-home/network.yml b/inventory/group_vars/chaos-at-home/network.yml
index cf8046f9..2957a24a 100644
--- a/inventory/group_vars/chaos-at-home/network.yml
+++ b/inventory/group_vars/chaos-at-home/network.yml
@@ -14,6 +14,7 @@ network_zones:
offsets:
ch-equinox-ws: 1
ch-mc: 10
+ ch-mc-pi: 11
ch-telesto: 20
ch-calypso: 21
ch-thetys: 22
diff --git a/inventory/host_vars/ch-mc-pi.yml b/inventory/host_vars/ch-mc-pi.yml
new file mode 100644
index 00000000..a8701c54
--- /dev/null
+++ b/inventory/host_vars/ch-mc-pi.yml
@@ -0,0 +1,15 @@
+---
+## TODO: remove once autodetection works...
+raspios_release_date: "2022-01-28"
+#raspios_variant: desktop
+raspios_arch: arm64
+
+network:
+ nameservers: "{{ network_zones.lan.dns }}"
+ domain: "{{ host_domain }}"
+ primary: &_network_primary_
+ name: eth0
+ address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ gateway: "{{ network_zones.lan.gateway }}"
+ interfaces:
+ - *_network_primary_
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index e530a847..dfd92646 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -37,6 +37,7 @@ ch-mon host_name=mon
ch-omd host_name=omd
ch-epimetheus host_name=epimetheus
ch-mc host_name=mc
+ch-mc-pi host_name=mc-pi
ch-atlas host_name=atlas
ch-pan host_name=pan
ch-keyserver host_name=keyserver