Ansible configuration I use to manage my home lab consisting of a group of Raspberry Pi's.
 
 
Go to file
Jef Roosens b5e9afe5a4
ntfy: integrate notifications into backup script
2024-01-20 14:30:09 +01:00
group_vars ntfy: also install on ruby 2024-01-20 13:36:24 +01:00
roles ntfy: integrate notifications into backup script 2024-01-20 14:30:09 +01:00
.gitignore
README.md
Vagrantfile
ansible.cfg
first_run.yml
hosts.ini feat(ntfy): added server & client config 2024-01-20 12:57:35 +01:00
hosts.template.ini
initial-hosts.ini
main.yml
nas.yml ntfy: integrate notifications into backup script 2024-01-20 14:30:09 +01:00
ruby.yml ntfy: also install on ruby 2024-01-20 13:36:24 +01:00
web.yml feat(ntfy): added server & client config 2024-01-20 12:57:35 +01:00

README.md

Raspberry Pi NAS

Ansible configuration repository for my Raspberry Pi's.

Initial setup for new systems

  1. Flash Debian Raspberry Pi on the SD card.
  2. Configure /boot/firmware/sysconf.txt
    1. Set hostname to the desired name
    2. Set root_authorized_key to the contents of the current computer's public SSH key
  3. Put SD card in Pi and boot
  4. Connect Pi to wired internet
  5. Determine IP address given to the new Pi
  6. Add this IP address to the initial-hosts.ini file, along with the static_ip host var set to the desired static IP address
  7. Comment out ansible_ssh_user in group_vars/all/vars.yml, as this overwrites the one set in the hosts file
  8. Run ansible-playbook -i initial-hosts.ini first_run.yml. This command will hang at the restart networking step; at this point you can Ctrl-C.