-
Notifications
You must be signed in to change notification settings - Fork 83
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
Role updates Java even when state=present (it shouldn't) #22
Comments
I believe this is related to #14 . |
@lprimak you need to set the let me know if this helps. |
Yes, that's correct. Here is the complete meta/main.yml for my role,
|
this is the piece of code running:
if you don't have a version of Java installed (or the exact same package name) it will just install the latest available version. |
yes, it's already installed:
|
@lprimak I'll try and test this on a vagrant box later tonight by installing an older version of JDK and running the role on check mode to see what it will do. |
Any progress on this issue? |
I can't replicate the problem:
|
Ok, sounds good to me, thanks! |
With state=present, the role shouldn't update Java with the latest version, yet it does.
It should update to latest when state=latest, but not state=present.
This is on Debian family, as on Red Hat, you need to specify specific Java version.
Thank you!
The text was updated successfully, but these errors were encountered: