This project provides an Ansible playbook for setting up a Raspberry Pi.
- Installs docker
- Installs docker-compose
- Installs unifi controller
- Installs tailscale (as subnet router)
To use this playbook, you'll need to have Ansible installed on your local machine. You'll also need to have a Raspberry Pi with SSH access enabled.
- Clone this repository to your local machine.
- Update the
inventory.yml
file with the IP address of your Raspberry Pi. - Update the
defaults/main.yml
file with the configurations and packages you want to install. - Run the playbook using the command
TAILSCALE_KEY=... ansible-playbook main.yml -u <<username>>
. - You may need to manually reboot and restart the playbook after it crashes on docker group permissions.