-
Notifications
You must be signed in to change notification settings - Fork 664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow mixing links and inventory variables #3501
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Previous logic allowed either link or direct specification in molecule.yml, while it's very convenient to link to group_vars containing some common values and set other (specific to molecule test) as host_vars.
c958874
to
48f0c42
Compare
Hello. It looks amazing and it fixing one of weak points of Molecule! I'm very excited to see it fixed. Can you, please, add a few tests? It can quickly become messy (there is a lot of corner cases), and having some tests will helps to cover them all. |
Sure. Can you point me to an example commit I can follow preparing the tests? |
Can someone step in here to add some tests, without any tests I will likely close it. |
If someone can point me to a commit (or external link) where similar tests where added I'll work on that. I just don't have relevant experience. |
Can you point me to a minimal scenario that was failing before this change and that is working after it? ... that would be a test by itself. |
Closing this due to lack of updates. |
Hello! Are there any changes about the pull request? |
@ssbarnea , could we re-open this please?
In this case molecule will silently ignore host host_vars and
But that statement is buried pretty deeply in the documention, and there is no runtime error or warning. We could add a warning for it, but better yet to allow both, which is exactly what this PR does. |
Previous logic allowed either link or direct specification in molecule.yml, while it's very convenient to link to group_vars containing some common values and set other (specific to molecule test) as host_vars.
Fixes: #2759