Simple ansible playbook for a personal raspberry pi server.
write the raspbian iso to sd card using rpi-imager add user/password and ssh-key in rpi-imager
expand filesystem "raspi-config --expand-rootfs" reboot
update vars.yml, hosts, and templates
update system
install packages
set ssh passwordless to yes
set passwordless sudo true for sudo group
install fail2ban (config file etc)
setup docker
setup homeassistant
setup ESP home
setup pihole