Giter VIP home page Giter VIP logo

Comments (4)

drybjed avatar drybjed commented on July 1, 2024

Do you have debops.nginx role install and configure nginx on this host? Are you talking about configuring a new host from scratch, or an already configured host?

from ansible-pki.

yuvadm avatar yuvadm commented on July 1, 2024

Yes I have an nginx role configured like so:

nginx_pki_realm: 'test'
nginx_webroot_create: False

I skip creating the webroot due to a separate nginx error and the fact that I don't really need it. This is a new host from scratch.

from ansible-pki.

drybjed avatar drybjed commented on July 1, 2024

Then I suppose the reason the ACME certificates aren't created right away is that the order of roles in the playbook is:

  • debops.pki
  • debops.nginx

When debops.pki is run the first time, debops.nginx did not configure the webserver yet. Did you try running the debops.pki a second time after the host is configured? You shouldn't need to remove the existing realm contents, role should detect the nginx being installed, request the ACME certificates and switch to them when they are received.

from ansible-pki.

yuvadm avatar yuvadm commented on July 1, 2024

That makes sense, will try again next time. Mostly just wanted this issue here for posterity :) thanks!

from ansible-pki.

Related Issues (20)

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.