summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-cm4-test.yml
blob: 5d9829fba2463bbdce1c76edc1059ab895b9dcf9 (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 | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) }}"
    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'