Ansible configuration I use to manage my home lab consisting of a group of Raspberry Pi's.
 
 
Go to file
Jef Roosens 56faa4323b
gitea: add config
2024-08-09 14:00:56 +02:00
group_vars gitea: add config 2024-08-09 14:00:56 +02:00
roles gitea: add config 2024-08-09 14:00:56 +02:00
.gitignore lots of stuff 2022-12-02 21:23:33 +01:00
README.md initial bootstrapping workflow 2023-12-24 17:58:49 +01:00
Vagrantfile Started modifying for nas 2022-11-12 23:40:32 +01:00
ansible.cfg lots of stuff 2022-12-02 21:23:33 +01:00
first_run.yml jelly, caddy, other stuff 2023-12-24 20:52:13 +01:00
hosts.ini gitea: add config 2024-08-09 14:00:56 +02:00
hosts.template.ini Copy over some initial stuff 2022-11-12 12:21:39 +01:00
initial-hosts.ini initial bootstrapping workflow 2023-12-24 17:58:49 +01:00
main.yml Install Vim config 2022-12-03 13:40:32 +01:00
nas.yml nefarious: all the stuff 2024-05-20 14:21:21 +02:00
ruby.yml gitea: add config 2024-08-09 14:00:56 +02:00
web.yml gitea: add config 2024-08-09 14:00:56 +02: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.