Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dockpack/base_java8
Ansible role to install one version of Java on your development machines
https://github.com/dockpack/base_java8
ansible-role ci hackoberfest java
Last synced: 16 days ago
JSON representation
Ansible role to install one version of Java on your development machines
- Host: GitHub
- URL: https://github.com/dockpack/base_java8
- Owner: dockpack
- License: mit
- Created: 2017-07-20T19:46:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-21T23:51:00.000Z (almost 2 years ago)
- Last Synced: 2024-11-11T21:08:29.583Z (3 months ago)
- Topics: ansible-role, ci, hackoberfest, java
- Language: Dockerfile
- Homepage:
- Size: 87.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
base_java8
=========base_java8 is a just another vague acronym that other stuff depends on.
This is an ansible-role to install several Java versions on Centos or Ubuntu.Requirements
------------Centos 7 or 8. Ubuntu Xenial or Bionic. Windows.
Role Variables
--------------These lists drive the installation of packages.
```yaml
java8_packages:
- 'java-1.8.0-openjdk-headless.x86_64'
- 'java-1.8.0-openjdk-devel.x86_64'
java11_packages:
- 'java-11-openjdk-headless.x86_64'
- 'java-11-openjdk-devel.x86_64'```
To select the default with alternatives on RedHat:
`base_jdk: 'java-1.8.0'````yaml
- 'java-1.8.0'
- 'java-11'
```Dependencies
------------none
Example Usage
----------------```
#!/usr/bin/env ansible-playbook- name: example playbook
hosts: all
become: yesroles:
- { role: base_java8, tags: 'java8' }
```License
-------MIT
Author Information
------------------Bas Meijer
@bbaassssiiee