ansible-raspberry-pi-os

May 5, 2026 ยท View on GitHub

Configure Raspbian (RPi) using Ansible

Preparation

  1. Build the Raspberry Pi OS image using create-rpi-image GitHub Action
  2. Flash the image to the SD card
  3. Boot the RPi with the SD card
    1. Initial user is pi with password raspberry
  4. Run the ansible playbook: mise run run

Notes

Variables are stored in AWS SSM Parameter Store and injected via fnox + mise. See fnox.toml and mise.toml.

Bluetooth - To connect a headset in pairing mode:

su - kodi
bluetoothctl
# power on
# pair 08:C8:C2:85:EF:57
# trust 08:C8:C2:85:EF:57
# connect 08:C8:C2:85:EF:57