planetary-social / ansible-scripts

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

Add deployment roles for nos-event-service #52

Closed cooldracula closed 9 months ago

cooldracula commented 9 months ago

This pr adds the inventory,role,playbook, and new-server-vars.yml example for deploying the nos-event-service. It addresses infrastructure issue 84

It was tested by deploying https://events.nos.social

With this role, you can bring up a new events service from nothing by uncommenting the appropriate block in new-server-vars.yml, adjusting the domain appropriately, and then running:

ansible-playbook -i inventories/nos_event_service/inventory.yml playbooks/new-do-droplet.yml -e "@new-server-vars.yml"

(assuming you have the appropriate cloudflare and digital ocean permissions and api keys)