Skip to content
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

Download Java 8 RPM Failed on CentOS7 #99

Closed
pulse-mind opened this issue Oct 17, 2018 · 4 comments · Fixed by #101
Closed

Download Java 8 RPM Failed on CentOS7 #99

pulse-mind opened this issue Oct 17, 2018 · 4 comments · Fixed by #101

Comments

@pulse-mind
Copy link

The documentation is defining this

oracle_java_rpm_url: 'http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-linux-x64.rpm'

But it fails
Then I tried with :

http://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.rpm

But it fails too

TASK [ansiblebit.oracle-java : download Java RPM ] ****************************************************************************[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|succeeded` use `result is succeeded`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
FAILED - RETRYING: download Java RPM http://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.rpm (3 retries left).
FAILED - RETRYING: download Java RPM http://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.rpm (2 retries left).
FAILED - RETRYING: download Java RPM http://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.rpm (1 retries left).
fatal: [172.31.2.202]: FAILED! => {"attempts": 3, "changed": false, "module_stderr": "Shared connection to 172.31.2.202 closed.\r\n", "module_stdout": "sudo: il est nécessaire de saisir un mot de passe\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
@pulse-mind
Copy link
Author

I do not know if it was due to Oracle but now it works but with

oracle_java_use_defaults: no
oracle_java_dir_source: '/usr/local/src'
oracle_java_download_timeout: 60  
oracle_java_rpm_filename: 'jdk-8u191-linux-x64.rpm'
oracle_java_home: '/usr/java/default'
oracle_java_os_supported: yes
oracle_java_rpm_url: 'http://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.rpm'
oracle_java_rpm_validate_certs: yes
oracle_java_set_as_default: no
oracle_java_version_string: 1.8.0_191

@steenzout
Copy link
Member

@pulse-mind I've updated the docs.

let me know if that looks good to you now.

note: please star the repo, if you find it worthwhile. thank you.

@pulse-mind
Copy link
Author

Thank you :)

@steenzout
Copy link
Member

6.22.6 Release Notes

This release includes support for Java 11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants