diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-05-27 22:53:29 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-05-27 22:53:29 +0200 |
commit | 3c0cd65a7c3df993000029cb0cb8ec430845ef46 (patch) | |
tree | 3e46b49006aca2b2ec6ce971310f4e9a54f812df /inventory/host_vars | |
parent | move chaos-at-home hosts to new apt cache and harmonize sources.list config f... (diff) |
move ch-cm4-sensors* to iot vlan
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ch-cm4-sensors0.yml | 8 | ||||
-rw-r--r-- | inventory/host_vars/ch-cm4-sensors1.yml | 8 |
2 files changed, 2 insertions, 14 deletions
diff --git a/inventory/host_vars/ch-cm4-sensors0.yml b/inventory/host_vars/ch-cm4-sensors0.yml index 79b0e4c3..dd4c649c 100644 --- a/inventory/host_vars/ch-cm4-sensors0.yml +++ b/inventory/host_vars/ch-cm4-sensors0.yml @@ -3,15 +3,9 @@ raspios_variant: lite raspios_arch: arm64 network: - nameservers: "{{ network_zones.svc.dns }}" - domain: "{{ host_domain }}" primary: &_network_primary_ name: eth0 - address: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) }}" - gateway: "{{ network_zones.svc.gateway }}" - static_routes: - - destination: "{{ network_zones.lan.prefix }}" - gateway: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets['ch-gw-lan']) | ansible.utils.ipaddr('address') }}" + address: "{{ network_zones.iot.prefix | ansible.utils.ipaddr(network_zones.iot.offsets[inventory_hostname]) }}" interfaces: - *_network_primary_ diff --git a/inventory/host_vars/ch-cm4-sensors1.yml b/inventory/host_vars/ch-cm4-sensors1.yml index 79b0e4c3..dd4c649c 100644 --- a/inventory/host_vars/ch-cm4-sensors1.yml +++ b/inventory/host_vars/ch-cm4-sensors1.yml @@ -3,15 +3,9 @@ raspios_variant: lite raspios_arch: arm64 network: - nameservers: "{{ network_zones.svc.dns }}" - domain: "{{ host_domain }}" primary: &_network_primary_ name: eth0 - address: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) }}" - gateway: "{{ network_zones.svc.gateway }}" - static_routes: - - destination: "{{ network_zones.lan.prefix }}" - gateway: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets['ch-gw-lan']) | ansible.utils.ipaddr('address') }}" + address: "{{ network_zones.iot.prefix | ansible.utils.ipaddr(network_zones.iot.offsets[inventory_hostname]) }}" interfaces: - *_network_primary_ |