atao/raspberrypi-setup

⚡ Quickly setup my Raspberry Pi with Ansible !

53

stars

291

commits

Shell

primary language

Sep 7, 2026

updated

atao.github.io/raspberrypi-setup/
ansible
automation
debian
docker
docker-container
jdownloader
mousejack
nfc
playbook
raspberry
raspberry-pi
raspberrypi
raspberry-pi-setup
rfid
roles
rpi
setup
wireless
Browse cluster: Raspberry Pi System Monitoring & Management

README

Raspberry Pi Setup

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

Choose which components to install by using tags. Each tag installs specific packages and configurations :

Roles installation :

TagDescriptionNotes
standard, stdCore installation and configurationstandard packages, bashrc, vimrc
apstart a hotspot when no Ethernet cable is plugged inUseful for mobile use to access tools. → AP config file (Access with ssh $USER@10.0.0.1)
displayConfigure display with LCD-showNeed to modify this file to configure the correct display.
dockerDocker installationContainer runtime environment
jackitjackit installationExploit Code for Mousejack
multitorinstall a proxy with multiple TOR instances with load-balancing (trimstray/multitor)Known issues
torTor installationSee README
rfidRFID tools installationTools (libnfc, mfoc, mfcuk) and keys from MifareClassicToolSee Notes
sdrSDR tools installationrtl_433, rtl_sdr, multimon-ng and SoX
webNginx and Certbot installation
wifiWifi and GPS tools installationWireless security testing and wardriving

Containers installation :

TagDescriptionNotes
jd2docker container for JDownloader 2 jlesage/jdownloader-2See Configuration tips'
portainerPortainer CE - a lightweight service delivery platform for containerized applications portainer/portainer-ceContainers manager
proxyRotating Tor HTTP proxy containerProvides one HTTP proxy endpoint with many concurrent tunnels to the Tor network.

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
sudo ansible-playbook playbook.yml -i hosts --tags all -K

List playbook tasks :

sudo 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

Yaml lint

yamllint playbook.yml roles/

Check syntax :

--syntax-check

--

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

Contributors

atao

291 commits

atao/raspberrypi-setup

⚡ Quickly setup my Raspberry Pi with Ansible !

53

stars

291

commits

Shell

primary language

Sep 7, 2026

updated

atao.github.io/raspberrypi-setup/
ansible
automation
debian
docker
docker-container
jdownloader
mousejack
nfc
playbook
raspberry
raspberry-pi
raspberrypi
raspberry-pi-setup
rfid
roles
rpi
setup
wireless
Browse cluster: Raspberry Pi System Monitoring & Management

README

Raspberry Pi Setup

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

Choose which components to install by using tags. Each tag installs specific packages and configurations :

Roles installation :

TagDescriptionNotes
standard, stdCore installation and configurationstandard packages, bashrc, vimrc
apstart a hotspot when no Ethernet cable is plugged inUseful for mobile use to access tools. → AP config file (Access with ssh $USER@10.0.0.1)
displayConfigure display with LCD-showNeed to modify this file to configure the correct display.
dockerDocker installationContainer runtime environment
jackitjackit installationExploit Code for Mousejack
multitorinstall a proxy with multiple TOR instances with load-balancing (trimstray/multitor)Known issues
torTor installationSee README
rfidRFID tools installationTools (libnfc, mfoc, mfcuk) and keys from MifareClassicToolSee Notes
sdrSDR tools installationrtl_433, rtl_sdr, multimon-ng and SoX
webNginx and Certbot installation
wifiWifi and GPS tools installationWireless security testing and wardriving

Containers installation :

TagDescriptionNotes
jd2docker container for JDownloader 2 jlesage/jdownloader-2See Configuration tips'
portainerPortainer CE - a lightweight service delivery platform for containerized applications portainer/portainer-ceContainers manager
proxyRotating Tor HTTP proxy containerProvides one HTTP proxy endpoint with many concurrent tunnels to the Tor network.

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
sudo ansible-playbook playbook.yml -i hosts --tags all -K

List playbook tasks :

sudo 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

Yaml lint

yamllint playbook.yml roles/

Check syntax :

--syntax-check

--

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

Contributors

atao

291 commits

Languages

Shell

69.5%

Jinja

21.8%

Python

8.8%