GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ecgalaxy/java_openjdk: Ansible java_openjdk role - Repository mirror - development takes place on code.europa.eu

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
defaults
defaults
 
 
meta
meta
 
 
molecule/default
molecule/default
 
 
tasks
tasks
 
 
vars
vars
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
RELEASES.md
RELEASES.md
 
 

Repository files navigation

ECGALAXY java_openjdk role

This Ansible role installs Java OpenJDK (default Java version: 17).

Requirements

None.

Role Variables

  • java_version: 17

Available values per platform:

Amazon Linux 2

  • 11
  • 17

Amazon Linux 2023

  • 1.8.0
  • 11
  • 17
  • 21
  • 25

RHEL 8 & 9

  • 1.8.0
  • 11
  • 17
  • 21
  • 25

Ubuntu 18.04

  • 8
  • 11
  • 17

Ubuntu 20.04

  • 8
  • 11
  • 17
  • 21

Ubuntu 22.04

  • 8
  • 11
  • 17
  • 21
  • 25

Ubuntu 24.04

  • 8
  • 11
  • 17
  • 21
  • 25

Dependencies

  • optional: ecgalaxy.bootstrap

Example Playbook

- hosts: all
  roles:
    - ecgalaxy.bootstrap
    - ecgalaxy.java_openjdk

One-liner

bash <(curl -s https://code.europa.eu/-/snippets/1/raw/main/ansible-role.sh) ecgalaxy.java_openjdk

To install a specific JDK, set the java_version; for instance to install OpenJDK 25 (if supported):

bash <(curl -s https://code.europa.eu/-/snippets/1/raw/main/ansible-role.sh) ecgalaxy.java_openjdk --extra-vars '{"java_version":"25"}'

See ansible-role for instructions.

Please verify the script integrity first.

Upgrading & Uninstalling

This Ansible role uses the distribution's package manager to install packages.

In order to upgrade or uninstall a package, please refer to your distribution's package manager documentation.

License

Copyright the European Union 2022.

Licensed under the EUPL-1.2 or later.

Author Information

ECGALAXY team.

About

Ansible java_openjdk role - Repository mirror - development takes place on code.europa.eu

code.europa.eu/ecgalaxy/java_openjdk

Topics

ansible-rolejavaopenjdk

Resources

Readme
EUPL-1.2 license
Activity
Custom properties

Stars

0 stars

Watchers

2 watching

Forks

0 forks
Report repository

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.