-
Notifications
You must be signed in to change notification settings - Fork 81
Update main.yml #17
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
Update main.yml #17
Conversation
For CentOS 7 rpm install apparently does not create /usr/bin/keytool and /usr/bin/javadoc links. This leads to failure if playbook is run repeatedly.
| with_items: | ||
| - { src: "{{ oracle_java_home }}/jre/bin/keytool", dest: 'keytool' } | ||
| - { src: "{{ oracle_java_home }}/bin", dest: 'javadoc' } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably you'll need sudo: yes here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you also need a when: oracle_java_set_as_default.
|
@priitliivak I'm adding some tests to replicate the problem. |
|
@priitliivak after I run this the role as it is this is what I get: this patch will break this. |
|
here is the code that handles the Java version switch using the problem might be the double |
|
v4.9.8 tag has the fix for the double let me know if you need more help. |
|
Thanks, will try it out. Using it for my personal project so not constantly 2016-03-21 23:37 GMT+02:00 Pedro Salgado notifications@github.com:
Priit Liivak |
|
closing ticket. |
For CentOS 7 rpm install apparently does not create /usr/bin/keytool and /usr/bin/javadoc links. This leads to failure if playbook is run repeatedly.
This change is