Giter VIP home page Giter VIP logo

Comments (6)

louim avatar louim commented on June 11, 2024

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.

devotoare avatar devotoare commented on June 11, 2024

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.

louim avatar louim commented on June 11, 2024

@devotoare Thanks for confirming! Would you be interested in doing a PR to update the readme?

from bedrock-site-protect.

devotoare avatar devotoare commented on June 11, 2024

@louim all set :)

Thanks for the project!

from bedrock-site-protect.

stefthoen avatar stefthoen commented on June 11, 2024

@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 theenvvariable) and below theenv` variable, but I'm having no luck.

from bedrock-site-protect.

devotoare avatar devotoare commented on June 11, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.