Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oefenweb/ansible-openjdk
Ansible role to set up (the default or a specific update version of) openjdk Debian-like systems
https://github.com/oefenweb/ansible-openjdk
ansible debian java openjdk ubuntu
Last synced: 2 months ago
JSON representation
Ansible role to set up (the default or a specific update version of) openjdk Debian-like systems
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-openjdk
- Owner: Oefenweb
- License: mit
- Created: 2021-02-02T09:09:20.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-20T08:47:05.000Z (7 months ago)
- Last Synced: 2024-06-20T22:11:23.343Z (7 months ago)
- Topics: ansible, debian, java, openjdk, ubuntu
- Language: Dockerfile
- Homepage:
- Size: 46.9 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## openjdk
[![CI](https://github.com/Oefenweb/ansible-openjdk/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-openjdk/actions?query=workflow%3ACI)
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-oracle--java-blue.svg)](https://galaxy.ansible.com/Oefenweb/openjdk)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
```yaml
---
- hosts: all
roles:
- oefenweb.openjdk
```##### Advanced
```yaml
---
- 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](https://github.com/Oefenweb/ansible-openjdk/issues)!