Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikepruett3/ansible-role-oracle-jdk
Ansible role to install Oracle JDK on Linux Servers.
https://github.com/mikepruett3/ansible-role-oracle-jdk
Last synced: about 1 month ago
JSON representation
Ansible role to install Oracle JDK on Linux Servers.
- Host: GitHub
- URL: https://github.com/mikepruett3/ansible-role-oracle-jdk
- Owner: mikepruett3
- License: mit
- Created: 2021-05-10T19:24:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T01:11:34.000Z (about 2 years ago)
- Last Synced: 2023-02-26T08:17:16.136Z (almost 2 years ago)
- Language: Jinja
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible Role: Oracle Java Development Kit (JDK)
=========Ansible role to install [Oracle Java Development Kit](https://www.oracle.com/java/technologies/java-se-glance.html) (JDK) on Linux Servers.
Requirements
------------The role does not require anyting to run on RHEL and its derivatives. This role assumes that you have the software package located on a web server somewhere in your environment.
Role Variables
--------------Available variables are listed below, along with default values ```(see defaults/main.yml)```:
``` yaml
software_url: "http://www.example.org"
package_name: "jdk-11_linux-x64_bin.rpm"
java_version: "11"
``````software_url``` **(Required)** The URL that hosts the Installer package. This should be either **http** or **https**.
```package_name``` **(Required)** The Installer package name.
```java_version``` **(Required)** The version of Oracle Java Development Kit that is to be installed.
Role variables can be stored with the hosts.yaml file, or in the main variables file.
Dependencies
------------Oracle JDK is now licensed by Oracle, and requires a subscription for access to the packages.
Example Playbook
----------------``` yaml
- hosts: servers
roles:
- role: mikepruett3.oracle-jdk
vars:
software_url: "http://www.example.org"
package_name: "jdk-11_linux-x64_bin.rpm"
java_version: "11"
```License
-------MIT
Author Information
------------------Role created by [mikepruett3](https://github.com/mikepruett3) on [Github.com](https://github.com/mikepruett3/ansible-role-oracle-jdk)