Comments (5)
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.
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.
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.
yes I used keepalived_ubuntu_src: "uca"
from ansible-keepalived.
Ok cool, I'll leave this issue closed. If you need anything else, don't hesitate!
from ansible-keepalived.
Related Issues (20)
- Weekly Digest (26 July, 2020 - 2 August, 2020)
- Weekly Digest (2 August, 2020 - 9 August, 2020)
- Role does not find variables when executing unrelated tasks HOT 2
- The role and its CI need modernization HOT 7
- SE Linux blocking loading of scripts as non root user HOT 2
- Unknown keyword 'notify_master_rx_lower_pri' HOT 7
- Use keepalived --config-test flag for keepalived > 2.0.4
- Problem with ansible 2.10.X HOT 7
- Improve visibility for ansible-keepalived on galaxy HOT 1
- (SG1) track script script_process not found, ignoring... HOT 3
- need to pin molecule-docker to version below 1.0 or fix CI
- issue in testing with debian 11 aka bullseye HOT 9
- Linting fails since ansible lint is updated HOT 2
- Add more execution granularity / idempotency HOT 14
- how to set unicast mode HOT 5
- opt out of SELinux module compilation HOT 21
- Solution to a mis-configuration of the task "Dropping the tracking scripts" that should save you hours of debugging HOT 3
- Identical configuration does not work on ubuntu 22.04 while 20.04 works fine HOT 2
- Fix CI HOT 1
- New release HOT 4
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 ansible-keepalived.