Skip to content

ruzickap/ansible-raspberry-pi-os

Repository files navigation

ansible-raspberry-pi-os

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 from shell script run_ansible-raspbian.sh

Notes

Decrypt variables:

cd ansible || exit
ansible localhost -m ansible.builtin.debug -a var="cloudflared_token" -e "@host_vars/raspi.xvx.cz"