Giter Club home page Giter Club logo

ansible-role-java's People

Contributors

fbnfgc avatar jpnewman avatar mdiers avatar perlboy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-role-java's Issues

Adding Repo failed on debian buster

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

FAILURE ON "requesting key EEA14886 from hkp server keyserver.ubuntu.com"

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

name 'aptsources_distro' is not defined

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

404 Not found error on download.oracle.com

i am trying to install java on ubuntu-16.04 but get following error:

http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.