summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-cm4-test.yml
blob: 01f6cc4bc4f39260b824d3932e87465c8842a45d (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
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_

# ## Axzez Interceptor Board
# raspios_boot_config:
#   - regexp: '^#?dtparam=i2c_vc'
#     line: 'dtparam=i2c_vc=on'
#   - regexp: '^#?dtoverlay=i2c-rtc'
#     line: 'dtoverlay=i2c-rtc,rv3028,i2c0'
#   - regexp: '^#?dtoverlay=disable-bt'
#     line: 'dtoverlay=disable-bt'
#   - regexp: '^#?dtoverlay=disable-wifi'
#     line: 'dtoverlay=disable-wifi'

## Waveshare CM4-DUAL-ETH-BASE
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'
  - regexp: '^#?dtoverlay=disable-bt'
    line: 'dtoverlay=disable-bt'
  - regexp: '^#?dtoverlay=disable-wifi'
    line: 'dtoverlay=disable-wifi'

# ## TuringPi v2.4
# raspios_boot_config:
#   - regexp: '^#?dtoverlay=disable-bt'
#     line: 'dtoverlay=disable-bt'
#   - regexp: '^#?dtoverlay=disable-wifi'
#     line: 'dtoverlay=disable-wifi'

# ## Cytron CM4 Maker Board
# 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=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'

base_entropy_generator: rngd


base_modules_blacklist: "{{ base_modules_blacklist_all_but_sound }}"

sshd_allowusers_host:
  - player


browser_kiosk_xinit_commands_extra: |
  xrandr --output HDMI-1 --mode 1920x1080 --rate 50

browser_kiosk_url: "https://updatefaker.com/w98/index.html"



mpv_headless_audio_device: "alsa/hdmi"
mpv_headless_video_mode: "1920x1080@60"
mpv_headless_hwdec: v4l2m2m-copy

mpv_headless_ssh_keys: "{{ users.equinox.ssh }}"