diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-03-28 22:57:54 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-03-28 22:57:54 +0200 |
commit | 3353e25592248dad6a0c067ab9c00ed6c3645a47 (patch) | |
tree | 414a519c70156807011e6971adca918dfc4f37c0 /inventory | |
parent | add ch-epimetheus to monitoring (diff) |
raspios/image: initial commit
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/group_vars/chaos-at-home/network.yml | 1 | ||||
-rw-r--r-- | inventory/host_vars/ch-mc-pi.yml | 15 | ||||
-rw-r--r-- | inventory/hosts.ini | 1 |
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 |