java

Java

An Ansible role to install the Java package. This role installs the OpenJDK or Amazon Corretto distribution.

Requirements

  • Supported version of Ansible: 2.12 and highter.
  • Supported platforms:
    • Amazon Linux
      • 2
      • 2023
    • Debian
      • 10
      • 11
      • 12
    • Fedora
      • 39
      • 40
    • RHEL
      • 7
      • 8
      • 9
    • Ubuntu
      • 18.04
      • 20.04
      • 22.04

Role Variables

All variables that can be overridden are stored in the defaults/main.yml file. Please refer to the meta/argument_specs.yml file for a description of the available variables. Similarly, descriptions and defaults for preset variables can be found in the vars/main.yml file.

Dependencies

None.

Example Playbook

Install the Java package:

---
- name: 'Install the Java package'
  hosts: all

  roles:
    - role: antmelekhin.java

License

MIT

Author Information

Melekhin Anton.

About

An Ansible role to install the Java package.

Install
ansible-galaxy install antmelekhin/ansible-role-java
GitHub repository
License
mit
Downloads
377