planetary-social / ansible-scripts

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

Add basic Sentry role #48

Closed mplorentz closed 11 months ago

mplorentz commented 11 months ago

This is the current version of the Sentry playbook and role that I wrote to set up sentry.nos.social. I rebased off the latest main and moved the secrets into ansible-vault. This completes the first two subtasks in https://github.com/planetary-social/infrastructure/issues/73, and I'd like to pass the remaining subtasks off to you @cooldracula (to be completed in a future PR).

cooldracula commented 11 months ago

This looks good! I added some commits to get the role working with the new-do-droplet playbook. I added comments to the relevant changes above.

I find sentry is a slightly awkward fit with ansible. It's install script wants user prompts that we need to do workarounds to get past, and overall takes a v. long time which can easily cause timeouts for ansible. I added additional settings to help offset both.