To use it, follow the readme to set up ansible and an ssh connection to your server.
Edit the varibales in var/main.yml and run the playbook with ansible-playbook roles_playbook.yml -K
.
Also check out the lemmy and pixelfed docker installation playbooks.
better explained here https://youtu.be/f5jNJDaztqk?t=1151