summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-cm4-sensors0.yml2
-rw-r--r--inventory/host_vars/ch-cm4-sensors1.yml2
2 files changed, 4 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-cm4-sensors0.yml b/inventory/host_vars/ch-cm4-sensors0.yml
index abc0c0bb..79b0e4c3 100644
--- a/inventory/host_vars/ch-cm4-sensors0.yml
+++ b/inventory/host_vars/ch-cm4-sensors0.yml
@@ -16,6 +16,8 @@ network:
- *_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'
diff --git a/inventory/host_vars/ch-cm4-sensors1.yml b/inventory/host_vars/ch-cm4-sensors1.yml
index abc0c0bb..79b0e4c3 100644
--- a/inventory/host_vars/ch-cm4-sensors1.yml
+++ b/inventory/host_vars/ch-cm4-sensors1.yml
@@ -16,6 +16,8 @@ network:
- *_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'