The SD card moves over as is, so: - pi_standard_setup can install the Pi 5 kernel (linux-image-rpi-2712, an arm64 package on the armhf userland), which a Pi 4 image lacks. Opt-in via pi_standard_setup_install_pi5_kernel. - The Pi is powered through the HiFiBerry board's GPIO header, so it cannot negotiate a 5A supply and would cap USB at 600mA. pi_hifiberry_amp sets usb_max_current_enable=1 when hifiberry_powers_pi is true (default false). - The DHT22 poller is off: Adafruit_DHT bit-bangs BCM283x registers, which the Pi 5 no longer has (GPIO sits behind the RP1 chip). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
pi_standard_setup
Baseline provisioning applied to every Pi: apt update/upgrade, detects the
Pi model, adds a root SSH key, disables the SSH locale-forwarding warning,
optionally configures wifi and the hostname, and rotates the default
pi/raspberry credentials via the keepass lookup plugin.
Key vars: pi_standard_setup_wifi_ssid, pi_standard_setup_new_hostname,
pi_standard_setup_timezone, pi_standard_setup_wifi_country,
ansible_ssh_pass (the OS-default password, used only to reach a
freshly-flashed Pi for the first time before its password is rotated)