|  | ||
|---|---|---|
| group_vars | ||
| roles | ||
| .gitignore | ||
| README.md | ||
| Vagrantfile | ||
| ansible.cfg | ||
| first_run.yml | ||
| hosts.ini | ||
| hosts.template.ini | ||
| initial-hosts.ini | ||
| main.yml | ||
| nas.yml | ||
| web.yml | ||
		
			
				
				README.md
			
		
		
			
			
		
	
	Raspberry Pi NAS
Ansible configuration repository for my Raspberry Pi's.
Initial setup for new systems
- Flash Debian Raspberry Pi on the SD card.
- Configure /boot/firmware/sysconf.txt- Set hostnameto the desired name
- Set root_authorized_keyto the contents of the current computer's public SSH key
 
- Set 
- Put SD card in Pi and boot
- Connect Pi to wired internet
- Determine IP address given to the new Pi
- Add this IP address to the initial-hosts.inifile, along with thestatic_iphost var set to the desired static IP address
- Comment out ansible_ssh_useringroup_vars/all/vars.yml, as this overwrites the one set in the hosts file
- Run ansible-playbook -i initial-hosts.ini first_run.yml. This command will hang at therestart networkingstep; at this point you can Ctrl-C.