Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/samdoran/ansible-role-java
- Owner: samdoran
- Created: 2016-06-08T21:30:19.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2022-11-11T18:58:55.000Z (about 2 years ago)
- Last Synced: 2024-11-01T09:14:33.178Z (2 months ago)
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.javaLicense
-------MIT