Over the weekend I published two Ansible roles for automating common set up tasks for a Raspberry Pi:

They’re also available on Ansible Galaxy.

The readme files for both roles include more information on how they work and an example of how to use them.

Both of them have some opportunities for improvement, and pull requests and issue reports are most welcome.