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
ssh
inboot
vol (/Volumes/boot on MacOS)
- Touch
ssh
to new host using default username/password- Copy
pi
user keys to controller - Run
new_host_init.yml
against the new host RaspberryPi.ansible-playbook --private-key [key file] -u pi playbooks/new_host_init.yml
- Run playbooks for appropriate node types
- Create
ansible
user and copyansible
keys to new host - Run
new_host_init.yml
against the host as theansible
user.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
)