antmelekhin.java
Java
This is an Ansible role to install the Java package. It can install either the OpenJDK
or Amazon Corretto
version.
Requirements
- You need Ansible version 2.12 or higher.
- This role works on the following platforms:
- Amazon Linux:
- 2
- 2023
- Debian:
- 10
- 11
- 12
- Fedora:
- 39
- 40
- RHEL (Red Hat Enterprise Linux):
- 7
- 8
- 9
- Ubuntu:
- 18.04
- 20.04
- 22.04
- Amazon Linux:
Role Variables
You can find all the variables that you can change in the defaults/main.yml file. For descriptions of available variables, check the meta/argument_specs.yml file. Details and default values for preset variables are in the vars/main.yml file.
Dependencies
This role has no dependencies.
Example Playbook
To install the Java
package, you can use the following playbook:
---
- name: 'Install the Java package'
hosts: all
roles:
- role: antmelekhin.java
License
This code is licensed under the MIT License.
Author Information
The author is Melekhin Anton.
Informazioni sul progetto
An Ansible role to install the Java package.
Installa
ansible-galaxy install antmelekhin.java
Licenza
mit
Download
743
Proprietario