Roots Discourse

Role: add basic authentication to your Bedrock sites

Hello Everyone!

I created an Ansible Galaxy role to add basic authentication to your bedrock sites. Since we often have a staging (or even a production) site that we need to protect from prying eyes, while still allowing the clients access to the site, I created a role that allow you to do exactly that.

The role is made to work with Bedrock without modifying much (only the environments files, the server.yml and the requirements.yml need to be altered), so if should be fairly “forward compatible”. The readme document how to use it.

If that can be helpful to someone, I’ll be glad to have helped! Pull request or comments on what could be improved are also very welcome!

https://galaxy.ansible.com/list#/roles/3714

6 Likes

The Galaxy URL changed to https://galaxy.ansible.com/louim/bedrock-site-protect. You can also find the plugin on Github.