Home

Awesome

Raspberry Pi Setup

YAML Lint

This Ansible playbook is designed to rapidly set up your Raspberry Pi.

It's compatible with all models. It has been successfully tested on multiple models, including the Pi Zero W, Pi Zero 2W, and Pi 4B, among others. The playbook should work well on both Debian and Debian-based distributions.

Roles

You can choose what you want to install with tags :

You will need to modify this file to configure the correct display.

Containers :

Standalone

To setup directly from the Pi, run the following command : Before run command you must setup your Pi with Raspberry Pi Imager.

Next run command :

curl -s https://raw.githubusercontent.com/atao/raspberrypi-setup/main/install.sh | bash -s -- all

Ansible

To setup run the following command :

git clone https://github.com/atao/raspberrypi-setup.git
cd raspberrypi-setup
ansible-playbook playbook.yml -i hosts --tags all --ask-become-pass

List playbook tasks :

ansible-playbook playbook.yml -i hosts --list-tasks

Examples

Install only some tags :

curl -s https://raw.githubusercontent.com/atao/raspberrypi-setup/main/install.sh | bash -s -- standard,proxy,rfid,docker,web,jd2

Debug

ansible-lint playbook.yml

Run with option :

--syntax-check

If you test it in WSL run this command before :

sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
sudo apt install curl

Star History

Star History Chart

Inspired from geerlingguy / mac-dev-playbook and nico2che / mac-setup