This role will download the RaspiOS imange and tranform it into a headless boot for PiFarm use.
This role executes on the local machine (in my case the farmer).
- create a playbook that will use this role
---
- hosts: localhost
connection: local
gather_facts: no
become: yes
become_method: sudo
roles:
- headless-pi-setup
Sample executions
- ansible-playbook headless-setup.yml -K
- ansible-playbook headless-setup.yml -K --tags umount
- ansible-playbook headless-setup.yml -K --tags mount
- https://github.com/nihalgonsalves/headless-pi-setup
- https://github.com/perrygeo/raspberry_pi
- https://github.com/ssharpjr/rpi-headless-setup
- https://www.raspberrypi.org/forums/viewtopic.php?t=140538
- https://github.com/gloveboxes/Raspberry-Pi-Kubernetes-Cluster
- https://blog.alexellis.io/test-drive-k3s-on-raspberry-pi/ (cgroup)
- https://github.com/lucasteligioridis/raspbernetes
- https://github.com/codesqueak/k18srpi4 (disable swap file ??)