All the stuff that makes my fun cluster do the stuff it do.
- One or more raspberries pi per
inventory.yml - SSH & Keys
- Cloudalchemy's node_exporter role[^1]
ansible-galaxy install cloudalchemy.node-exporter - Jeff Geerling's NFS Role
1. `community.general.snap`
- Flash Pi SD
- Touch
sshinbootvol (/Volumes/boot on MacOS)
- Touch
sshto new host using default username/password- Copy
piuser keys to controller - Run
new_host_init.ymlagainst the new host RaspberryPi.ansible-playbook --private-key [key file] -u pi playbooks/new_host_init.yml
- Run playbooks for appropriate node types
- Create
ansibleuser and copyansiblekeys to new host - Run
new_host_init.ymlagainst the host as theansibleuser.ansible-playbook --private-key [key file] -u pi playbooks/new_host_init.yml
[1]: The CloudAlchemy role, if run from a Mac, requires export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES (more detail here and here) and requires gnu-tar (brew install gnu-tar)