Code Monkey home page Code Monkey logo

Comments (5)

evrardjp avatar evrardjp commented on May 24, 2024

Hello,

Sorry for the late answer.

It is fairly dangerous to allow this as an override in the role. If it's in vars, it's expected to be non modified. But because you're giving a good reason to override it, I am willing to change our code.

However let's discuss the solutions that don't require code change first:

  • You could use another source, like UCA
  • You can override the variable with your own value in the cli: -e "keepalived_ppa_keyserver='hkp://keyserver.ubuntu.com:80'" or with -e @<filename>

Yes, I could add a variable file in with first found, but that would require the deployer to set all the variables that are for his distribution, and therefore we'd define "expectations" (deployer would have to follow internal changes in the roles, which sounds problematic).
Alternatively, we could after this "Gather vars for each os" task, have another task to load extra vars if a variable is defined.
But that sounds more a source of problems in the future, compared to the solution above.

from ansible-keepalived.

jansepke avatar jansepke commented on May 24, 2024

Hi,

thanks for the explanation. I tried UCA and it worked fine. The idea of using extra params in the shell would it make complicated. Another solution: just store keepalived_ppa_keyserver in default vars and leave the rest where it is.

from ansible-keepalived.

evrardjp avatar evrardjp commented on May 24, 2024

Hey, last question:
Did you use keepalived_ubuntu_src: "uca" for it?

If not needed, I'll not make a change to prevent stability issues.

from ansible-keepalived.

jansepke avatar jansepke commented on May 24, 2024

yes I used keepalived_ubuntu_src: "uca"

from ansible-keepalived.

evrardjp avatar evrardjp commented on May 24, 2024

Ok cool, I'll leave this issue closed. If you need anything else, don't hesitate!

from ansible-keepalived.

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.