summaryrefslogtreecommitdiff
path: root/inventory/host_vars
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-03-28 22:57:54 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-03-28 22:57:54 +0200
commit3353e25592248dad6a0c067ab9c00ed6c3645a47 (patch)
tree414a519c70156807011e6971adca918dfc4f37c0 /inventory/host_vars
parentadd ch-epimetheus to monitoring (diff)
raspios/image: initial commit
Diffstat (limited to 'inventory/host_vars')
-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_