planetary-social / ansible-scripts

Ansible automation scripts used at Planetary
MIT License
2 stars 3 forks source link

Split relay roles per server type #116

Closed dcadenas closed 1 month ago

dcadenas commented 1 month ago

We used to maintain a single relay and had to reuse the setup for the nostr-rs-relay while working under the Olympics deadline. Now that the new relay is live, we need to make some changes for better maintainability.

This refactor introduces separate inventories and roles for strfry relays and nostr-rs-relay relays. Although they are similar, there are differences in directories and Docker images. In future work, more differences may appear, so this structure allows us to manage those changes for each type of relay more cleanly.

I also removed unused config settings, which are now handled through their corresponding Docker repositories' automated deployments.

dcadenas commented 1 month ago

This is for https://github.com/planetary-social/ansible-scripts/issues/117