Skip to content

devopswhizz/ansible-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible role to deploy/setup Java on ubuntu

Software License Donate

Role Variables

java_open_jdk_set_version: '8'
java_oracle_jdk_version: '1.8.0_181'

Usage

OpenJDK

To set multiple versions

java_open_jdk_version: ['6', '7', '8']

To set system defaults

java_open_jdk_set_version: '8'

Example Playbook

- hosts: java
  roles:
    - role: ansible-java
      become: true

👬 Contribution

  • Open pull request with improvements

  • Discuss ideas in issues

  • Reach out with any feedback Twitter URL