Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.51 KB

README.md

File metadata and controls

30 lines (26 loc) · 1.51 KB

raspi-ansible

ansible playbooks to set up raspberry pi device

install headless raspi

  • download https://www.raspberrypi.org/software/
  • configure addtional settings by pressing crtl + shift + x
  • enabled Wifi and set SSID, Password and Country
  • enable SSH and select via Public-Key and copy your SSH public key into the field (required for ansible deployement as well)
  • click save and continue to burn image for distribution Debian or Ubuntu on your SSD card
  • insert SSD card into your raspberry pi
  • search for your raspberry pi device in local network via nmap
  • nmap -sn 192.168.0.0/24 (ip address depends on your NAT)
  • download putty (https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)
  • go to SSH Auth and select your private key for SSH connection
  • connect via putty SSH to your raspberry pi via found ip from nmap command

install ansible on linux deployment host (or ubuntu on windows) with pip

configure hosts and SSH for deployment

deploy ansible playbooks