planetary-social / ansible-scripts

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

Config file changes #111

Closed dcadenas closed 1 month ago

dcadenas commented 1 month ago

This is paired to the changes already pushed to the reportinator repo to fixed the issue with deploying the new config file.

dcadenas commented 1 month ago

There's no writeup but I can explain.

The problem was this PR changed the way in which we load secrets, so instead of getting them from env variables, we get them from a config file.

The branch main of the reportinator repo automatically deploys the service and the ansible code corresponding to it wasn't creating any settings file as the one the new code expects. There was also some changes needed in reportinator to do this correctly too so a config file can be mounted properly