Skip to content

Ansible playbook to do a basic config of a raspberry pi with ssh, samba, external harddrive and transmission.

Notifications You must be signed in to change notification settings

t2d/ansible-raspberrypi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-raspberrypi

Ansible playbook to do a basic config of a Raspberry Pi with:

Available, but disabled on default:

Prepare raspberrypi

Flash SD card and enable ssh access:

wget https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2020-08-24/2020-08-20-raspios-buster-armhf-lite.zip
unzip 2020-08-20-raspios-buster-armhf-lite.zip
sudo dd if=2020-08-20-raspios-buster-armhf-lite.img bs=1M of=/dev/mmcblk0
mount /dev/mmcblk0p2 /mnt 
touch /mnt/ssh

Run ansible

ansible-galaxy install -r roles.yml
ansible-playbook playbook.yml

Furthermore, you can adjust host.yml to your needs. Most important, set ssh_key to enable password-less SSH and Tor onion service.

About

Ansible playbook to do a basic config of a raspberry pi with ssh, samba, external harddrive and transmission.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published