Skip to content

ih0r-d/raspberry-pi-guides

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐧 Raspberry Pi Guides

A collection of practical guides for setting up and configuring Raspberry Pi 5 with SSD, headless Ubuntu, and common enhancements.


πŸ“š Available Guides

File Description
rpi-ssd-setup.md Full setup from flashing Ubuntu Server to auto-mounting SSD and enabling Wi-Fi
rpi-ssd-workloads.md Steps to move logs, Docker, swap, and user data from SD to SSD
ssh-key-setup SSH Key Authentication for Raspberry Pi

βš™οΈ Ansible Automation

This repo includes a ready-to-use Ansible setup for automating Raspberry Pi configuration.

πŸ“‚ Structure

ansible/
β”œβ”€β”€ inventory/           # Hosts list
β”œβ”€β”€ group_vars/          # Group-level variables (with .env support)
β”œβ”€β”€ host_vars/           # Host-specific variables
β”œβ”€β”€ roles/               # Modular roles (base, ssd, docker, swap, etc.)
β”œβ”€β”€ site.yml             # Main playbook
β”œβ”€β”€ ansible.cfg          # Config with sane defaults

πŸš€ Usage (via Task)

  1. Edit environment variables in Taskfile.yml or export manually:
export ANSIBLE_HOST=192.168.1.1     # need to replace with valid value
export ANSIBLE_USER=ubuntu          # need to replace with valid value
export HOSTNAME=rpi-dev             # need to replace with valid value
export SSD_MOUNT_POINT=/mnt/ssd     # need to replace with valid value
  1. Run setup:
task setup
  1. Other commands:
task ping    # test connectivity
task ssh     # open SSH session
task logs    # live system logs

Supports flexible overrides via environment variables.
All paths, credentials, and flags are managed centrally.


πŸ“Œ Notes

  • All guides assume Raspberry Pi 5 with Ubuntu Server 25.04
  • Focus is on minimizing SD wear and maximizing SSD usage
  • Designed for performance, automation, and long-term use

πŸ”§ Author & Contributions

Maintained by [ih0r-d].
PRs, corrections, and additions welcome!

About

Raspberry PI 5 guilde configs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published