I like nerding-out, specifically around Ansible and Terraform automated test and infrastucture.
Always willing to help, love to learn and work with people.
Install and configure java on your system.
Home Page: https://robertdebock.nl/
License: Apache License 2.0
Think the title says everything :). I had to set the variable java_default_version
to install the appropriate version. If I'm correct the setting for the openjdk variable come from the file vars/main.yml
ansible-role-java/vars/main.yml
Line 102 in c1a376d
---
- name: Get some delicious coffee
hosts: all
become: true
tasks:
- name: Bootstrap machine
include_role:
name: galaxy/robertdebock.bootstrap
- name: Java must be present
include_role:
name: galaxy/robertdebock.java
vars:
java_vendor: openjdk
java_type: jdk
java_version: "8"
Taken from the target:
vagrant@ubuntu-focal:~$ java --version
openjdk 11.0.11 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
Is your feature request related to a problem? Please describe.
I need to migrate to newer Java.
Describe the solution you'd like
I need java 8, 9 and maybe more.
Describe alternatives you've considered
geerlingguy
Additional context
The README should explain how to run the role multiple time with different vars.
Add the option to install javadoc, please.
Any supported by role.
Oracle Java 8 has a separate piece of software to enable full encryption. It should be possible for users to enable this extenstion.
- hosts: servers
gather_facts: yes
become: yes
roles:
- role: robertdebock.bootstrap
- role: robertdebock.java
java_vendor: oracle
java_version: 8
java_jce: yes
The role now assumes that RPM's should be copied from local to remote, but some machines have RPMS available in a repository.
Oracle has released Java 10. Please modify the role to also allow Oracle Java 10. (jdk & jre)
Is your feature request related to a problem? Please describe.
JAVA_HOME
is not set after this role ran.
Describe the solution you'd like
The role should set JAVA_HOME
.
Describe alternatives you've considered
Set JAVA_HOME
myself.
Additional context
Do you have any thoughts? I could work on a PR, if it helps.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.