Comments (6)
Hey!
The requirement file has been renamed from requirement.yml
to galaxy.yml
in Trellis. If nothing else changed, you should be good to go by adding the package there. That would also mean the install command would be ansible-galaxy install -r galaxy.yml
. Let me know how it goes!
from bedrock-site-protect.
Just confirming this works, though would be nice to see in the docs so the project looks like it's still alive :)
from bedrock-site-protect.
@devotoare Thanks for confirming! Would you be interested in doing a PR to update the readme?
from bedrock-site-protect.
@louim all set :)
Thanks for the project!
from bedrock-site-protect.
@louim Just wanted to let you know that I also got this to work (thank you @devotoare for the Readme update). In the Readme you mention that I can also add the htpasswd
block to vault.yml
. Could you be a bit more specific where I should add it exactly? I tried to remove the htpasswd
block wordpress_sites.yml
and tried to add the following:
htpasswd:
- name: user
- pass: secret
To my staging/vault.yml
above vault_wordpress_sites
, below vault_wordpress_sites > example.com(so it's a sibling to the
envvariable) and below the
env` variable, but I'm having no luck.
from bedrock-site-protect.
@stefthoen Haven't tested but it should be something like this:
wordpress_sites.yml:
htpasswd:
- name: "{{ htpass_user }}"
- pass: "{{ htpass_pass }}"
group_vars/all/vault.yml:
vault_wordpress_env_defaults:
htpass_user: username
htpass_pass: password
or if you want it just in staging:
group_vars/staging/vault.yml:
vault_wordpress_sites:
example.com:
htpass_user: username
htpass_pass: password
env:
....
from bedrock-site-protect.
Related Issues (14)
- Usage with vault.yml HOT 7
- TASK [bedrock-site-protect : Set htpasswd] - Failing HOT 3
- Can I add Allowed From? HOT 1
- passlib missing from Trellis install HOT 7
- Deprecation warning : Include HOT 1
- template error while templating string HOT 9
- Installed role, added to server.yml, re-deployed, this role does not appear to run HOT 3
- Issue creating /etc/htpasswd as requested: [Errno 13] Permission denied: b'/etc/htpasswd' HOT 3
- Allow letsencrypt challenge to pass
- Issues with Let's Encrypt HOT 8
- Multiple Users HOT 2
- Documentation + Version Number HOT 1
- Gets "the key htpasswd should point to a list" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bedrock-site-protect.