summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-cm4-sensors0.yml
blob: 7f7982f107e545747b7e7e43c77fd5bcf9bd2638 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
raspios_variant: lite
raspios_arch: arm64

network:
  nameservers: "{{ network_zones.iot.dns }}"
  primary: &_network_primary_
    name: eth0
    address: "{{ network_zones.iot.prefix | ansible.utils.ipaddr(network_zones.iot.offsets[inventory_hostname]) }}"
  interfaces:
  - *_network_primary_

raspios_boot_config:
  - regexp: '^#?dtparam=i2c_arm'
    line: 'dtparam=i2c_arm=on'
  - regexp: '^#?dtparam=i2c_vc'
    line: 'dtparam=i2c_vc=on'
  - regexp: '^#?dtoverlay=i2c-rtc'
    line: 'dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi'
  - regexp: '^#?dtoverlay=disable-bt'
    line: 'dtoverlay=disable-bt'
  - regexp: '^#?dtoverlay=disable-wifi'
    line: 'dtoverlay=disable-wifi'
  - regexp: '^#?dtoverlay=audremap'
    line: 'dtoverlay=audremap,pins_18_19'
  - regexp: '^#?dtoverlay=gpio-shutdown'
    line: 'dtoverlay=gpio-shutdown,gpio_pin=4'
  - regexp: '^#?dtoverlay=spi0-1cs'
    line: 'dtoverlay=spi0-1cs'
  - regexp: '^#?dtoverlay=sc16is752-spi0'
    line: 'dtoverlay=sc16is752-spi0'

base_entropy_generator: rngd


ntp_variant: systemd-timesyncd

ntp_client:
  servers:
  - name: "{{ network_zones.iot.prefix | ansible.utils.ipaddr(network_zones.iot.offsets['ch-iot']) | ansible.utils.ipaddr('address') }}"
    options: iburst