Agree with others here. Ansible isn't for beginners and neither is a Lemmy instance.
Try some other projects first, maybe some docker containers that involve a reverse proxy.
For example, NextCloud is a very useful thing to set up as a project, but I would say that you specifically need the new Pi 5 with plenty of RAM for that. The Pi 4 doesn't handle a full NextCloud installation well.