Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samdoran/ansible-role-java

Ansible role to install Java
https://github.com/samdoran/ansible-role-java

Last synced: 22 days ago
JSON representation

Ansible role to install Java

Awesome Lists containing this project

README

        

Java
=========
[![Galaxy](https://img.shields.io/badge/galaxy-samdoran.java-blue.svg?style=flat)](https://galaxy.ansible.com/samdoran/java)

Install Java.

Requirements
------------

None.

Role Variables
--------------

| Name | Default Value | Description |
|-------------------|---------------------|----------------------|
| `java_packages` | `[]` | List of packages to install. Varies by distribution and version. |

The versions avaialable vary by distribution and version. Here are the defaults:

| Distribution | Distribution Version | Java Package Name |
|-------------------|---------------------|----------------------|
| Red Hat | all | java-1.8.0-openjdk |
| Ubuntu | 12.04, 14.04 | java-1.7.0-openjdk |
| Ubuntu | 16.04 | java-1.8.0-openjdk |

See `vars` for a list of available packages for each distribution.

Dependencies
------------

None.

Example Playbook
----------------

- hosts: all
roles:
- samdoran.java

License
-------

MIT