summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-cm4-test.yml
blob: e6bc90811ee3b59b5b19d130d97a576df201bd4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
raspios_variant: lite
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_

raspios_boot_config:
  - regexp: '^#?dtparam=i2c_vc'
    line: 'dtparam=i2c_vc=on'
  - regexp: '^#?dtoverlay=i2c-rtc'
    line: 'dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi'
  - regexp: '^#?dtoverlay=i2c-fan'
    line: 'dtoverlay=i2c-fan,emc2301,i2c_csi_dsi'