jpnewman / ansible-role-java Goto Github PK
View Code? Open in Web Editor NEWAnsible Role Java
Home Page: https://galaxy.ansible.com/jpnewman/java/
License: MIT License
Ansible Role Java
Home Page: https://galaxy.ansible.com/jpnewman/java/
License: MIT License
TASK [java8 : Add java repo] ***********************************************************************************************************************************************
[DEPRECATION WARNING]: evaluating 'install_java' as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see
CONDITIONAL_BARE_VARS configuration toggle. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
fatal: [atlassian-fisheye.local]: FAILED! => changed=false
msg: apt cache update failed
I tried to setup gerrit on (4.4.0-112-generic #135-Ubuntu (cloudimg)) using https://github.com/jpnewman/ansible-role-gerrit and it ended up with this error:
TASK [jpnewman.java : Add java repo] *******************************************************************************************************************************************************************************************************************************************
task path: *********/jpnewman.java/tasks/oracle_ppa.yml:19
fatal: [********]: FAILED! => changed=false
cmd: apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 7B2C3B0889BF5709A105D03AC2518248EEA14886
msg: |-
gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com
gpg: key EEA14886: public key "Launchpad VLC" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
gpg: no writable keyring found: eof
gpg: error reading `[stdin]': general error
gpg: import from `[stdin]' failed: general error
gpg: Total number processed: 0
rc: 1
stderr: |-
gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com
gpg: key EEA14886: public key "Launchpad VLC" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
gpg: no writable keyring found: eof
gpg: error reading `[stdin]': general error
gpg: import from `[stdin]' failed: general error
gpg: Total number processed: 0
stderr_lines:
- 'gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com'
- 'gpg: key EEA14886: public key "Launchpad VLC" imported'
- 'gpg: Total number processed: 1'
- 'gpg: imported: 1 (RSA: 1)'
- 'gpg: no writable keyring found: eof'
- 'gpg: error reading `[stdin]'': general error'
- 'gpg: import from `[stdin]'' failed: general error'
- 'gpg: Total number processed: 0'
stdout: |-
Executing: /tmp/tmp.DEKLce04vC/gpg.1.sh --recv-keys
--keyserver
hkp://keyserver.ubuntu.com:80
7B2C3B0889BF5709A105D03AC2518248EEA14886
stdout_lines: <omitted>
Steps to reproduce:
follow minimal example from jpnewman/ansible-role-gerrit
Running this with ansible 2.0.1.0, I get this error:
TASK [jpnewman.java : Add java repo] *******************************************
fatal: [10.2.101.53]: FAILED! => {"changed": false, "failed": true, "module_stderr": "", "module_stdout": "Traceback (most recent call last):\r\n File \"/root/.ansible/tmp/ansible-tmp-1462911004.57-202837339562723/apt_repository\", line 3237, in <module>\r\n main()\r\n File \"/root/.ansible/tmp/ansible-tmp-1462911004.57-202837339562723/apt_repository\", line 445, in main\r\n if isinstance(distro, aptsources_distro.UbuntuDistribution):\r\nNameError: global name 'aptsources_distro' is not defined\r\n", "msg": "MODULE FAILURE", "parsed": false}
I'm trying to setup CentOS 6.7
i am trying to install java on ubuntu-16.04 but get following error:
302 Moved Temporarily\r\nLocation: https://edelivery.oracle.com/otn-pub/java/
jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz
302 Moved Temporarily\r\nLocation: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516248471_ce03e11197a699e0ee273
b0022d11002 [following]\r\n--2018-01-18 04:05:51-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516248471_ce03e11197a699e0ee273b0022d11002\r\nConnect
ing to download.oracle.com (download.oracle.com)|23.53.157.169|:80... connected.\r\nHTTP request sent, awaiting response... 404 Not Found
is this something broken at Oracle end ?
Please note that this role was working around 2 weeks back.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.