use same shell setup as in nix home manager
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user