Hacker News new | ask | show | jobs
by LukeHoersten 2149 days ago
Here’s my Pleroma ansible role if anyone wants to give it a try. Can run on a Raspberry Pi and supports multiple instances and domains.

https://src.nth.io/ansible-roles/file/tip/pleroma/otp

1 comments

You should've pushed this to Galaxy! I was looking for an ansible role and ended up having to make my own.

How are you dealing with the secrets that need to be generated? I couldn't find anything on the tasks or templates...

I manage it at the playbook level. They go into the role as variables.

I’ve never really used Galaxy. You recommend it? I’ve always felt like I can’t depend on other people’s roles, especially since roles don’t have their own variable scopes.

Quality of the roles on Galaxy vary a lot, but there are some that are certainly useful. Usually the variables get namespaced with the name of the role, so you'd only get some kind of conflict if you were using two different code bases for the same role - or if the dev was really sloppy/didn't care about others integrating their code.
Yeah that makes sense. I’ll take a look. Thanks!