mjcramer.java

Java Ansible Role

Build Status Ansible Galaxy

This is an Ansible role for installing Java.

Requirements

Here are some tools you need before using this role, which Ansible itself may not install:

  • google-auth
  • pyOpenSSL
  • dopy

Role Variables

This role supports two types of Java Virtual Machines (JVMs): Oracle and OpenJDK.

Name Value
jvm_provider - openjdk
- oracle
java_version - 8
- 11

Dependencies

If there are other roles on Galaxy that this one depends on, list them here. Also, mention any special settings needed for those roles.

Tags

  • require
  • download
  • apply
  • configure
  • initialize
  • check

Example Playbook

Here’s how to use this role in a playbook, including a variable:

- hosts: servers
  roles:
     - { role: mjcramer.java, java_version: 8 }

License

This role has no license restrictions.

Author Information

Michael Cramer, michael@cramer.name mjcramer

Informazioni sul progetto

Ansible role for installing Java

Installa
ansible-galaxy install mjcramer.java
Licenza
unlicense
Download
184
Proprietario