GithubHelp home page GithubHelp logo

lifeofguenter / ansible-role-java Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 2.0 97 KB

Ansible Role for installing Java (Oracle)

Home Page: https://galaxy.ansible.com/lifeofguenter/java/

License: MIT License

ansible-role java linux-server corretto

ansible-role-java's Introduction

lifeofguenter.java

CircleCI

An Ansible role that installs Java Corretto 8, 11 and 17 - e.g. LTS versions on Debian-like systems.

Requirements

none

Role Variables

Available variables are listed below, along with default values:

default_java_package: java-1.8.0-amazon-corretto-jdk

maven_version: ''

gradle_version: ''

Dependencies

none

Example Playbook

- hosts: webservers
  roles:
    - { role: lifeofguenter.java }

License

Licensed under the MIT License. See the LICENSE file for details.

Author Information

Gunter Grodotzki

ansible-role-java's People

Contributors

damselem avatar lifeofguenter avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ansible-role-java's Issues

Add Ubuntu 18.04/Bionic support [Role breaks on first run]

Hi,

I have come across your unifi-controller Ansible role and I was about to use it but it appears this dependency breaks during the provisioning phase.

Example output from test-kitchen:

Transferring files to <default-ubuntu-1804>
       - changing role lifeofguenter.unifi-controller from  to unspecified
       - downloading role from https://github.com/lifeofguenter/ansible-role-unifi-controller/archive/0.2.0.tar.gz
       - extracting lifeofguenter.unifi-controller to /tmp/kitchen/roles/lifeofguenter.unifi-controller
       - lifeofguenter.unifi-controller was installed successfully
       - dependency lifeofguenter.oracle-java is already installed, skipping.

       PLAY [all] *********************************************************************

       TASK [Gathering Facts] *********************************************************
       ok: [localhost]

       TASK [lifeofguenter.oracle-java : add apt-key] *********************************
       changed: [localhost]

       TASK [lifeofguenter.oracle-java : add apt-repo] ********************************
       An exception occurred during task execution. To see the full traceback, use -vvv. The error was: apt.cache.FetchFailedException: E:The repository 'https://dl.bintray.com/9jkh/jdk bionic Release' does not have a Release file.
       fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible_B89QQ3/ansible_module_apt_repository.py\", line 550, in <module>\n    main()\n  File \"/tmp/ansible_B89QQ3/ansible_module_apt_repository.py\", line 542, in main\n    cache.update()\n  File \"/usr/lib/python2.7/dist-packages/apt/cache.py\", line 543, in update\n    raise FetchFailedException(e)\napt.cache.FetchFailedException: E:The repository 'https://dl.bintray.com/9jkh/jdk bionic Release' does not have a Release file.\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}

FWIW, I am running the play above on a bento/ubuntu-18.04 box, version 201808.24.0.

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.