summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-mc-pi.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-mc-pi.yml')
-rw-r--r--inventory/host_vars/ch-mc-pi.yml15
1 files changed, 15 insertions, 0 deletions
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_