An Ansible playbook to help get a Raspberry Pi up and running.
After booting from a stock Raspian Buster Lite SD card, you will need to:
- Use
vi(withsudo) to edit the file/etc/ssh/sshd_configby changing theChallengeResponseAuthenticationsetting toyes. - Restart the ssh service using
sudo systemctl restart ssh. - Generate a hash for the password to be used on your personal
account using
mkpasswd --method=sha-512.
At this point we can populate inventory.yml and any group or host
variables files and run site.yml:
ansible-playbook -i inventory.yml site.ymlAt this point your new Raspberry Pi is ready to be configured. The project jsf9k/ansible-home can be used for this purpose.