forem / selfhost

Selfhost your Forem Community on your own infrastructure 🎉
https://www.forem.com/get-started/
GNU Affero General Public License v3.0
1.43k stars 169 forks source link

Add comment about ansible-vault, and update the readme link #62

Closed djuber closed 2 years ago

djuber commented 2 years ago

Readme link was a few lines too early (probably an insertion further up), change line 64 to line 67 so the link points to the right location.

I ran into a confusing situation running what looked like normal shell commands to pass random data to ansible-vault, where a password was prompted for, and decrypting the vault secrets in the yaml file failed. The hidden context was that the commands must run in the selfhost directory for the vault encryption to use the same password as the playbook.

Add a safeguard note that you should be in the selfhost directory (where the ansible.cfg file is present) before running the shell commands, and a hint that being prompted for a password is an indication that something went wrong.