Skip to content

Ansible role to set up (the default or a specific update version of) openjdk Debian-like systems

License

Notifications You must be signed in to change notification settings

Oefenweb/ansible-openjdk

Repository files navigation

openjdk

CI Ansible Galaxy

Set up (the default or a specific update version of) openjdk Debian-like systems.

Requirements

None

Variables

  • openjdk_versions: [default: [{version: 'default', set_as_default: true}]]: Java version(s) to install
  • openjdk_versions.{n}.version: [required]: Version to install (11, 17, default)
  • openjdk_versions.{n}.set_as_default: [default: false]: Whether to set as default (does not work for version default)

Dependencies

None

Example(s)

Simple
---
- hosts: all
  roles:
    - oefenweb.openjdk
Advanced
---
- hosts: all
  roles:
    - oefenweb.openjdk
  vars:
    openjdk_versions:
      - version: 11
      - version: 17
        set_as_default: true

License

MIT

Author Information

Mischa ter Smitten

Feedback, bug-reports, requests, ...

Are welcome!

About

Ansible role to set up (the default or a specific update version of) openjdk Debian-like systems

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published