use same shell setup as in nix home manager

This commit is contained in:
2026-09-09 08:17:48 +02:00
parent 3d1675528b
commit dae2470e67
9 changed files with 207 additions and 18 deletions

View File

@@ -18,7 +18,10 @@
ansible.builtin.pip:
name: adafruit-dht
executable: pip3
extra_args: "--break-system-packages"
# Modern Raspberry Pi OS kernels no longer expose a "Hardware" line in
# /proc/cpuinfo, which breaks this package's built-in Pi auto-detection.
# Force it explicitly since we only ever target Raspberry Pis.
extra_args: '--break-system-packages --global-option="--force-pi"'
notify: Restart dht22_sensing
- name: Install script config
ansible.builtin.template: