dockpack / base_java8

Ansible role to install one version of Java on your development machines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

  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'

  - 'java-1.8.0'
  - 'java-11'

Dependencies

none

Example Usage

    #!/usr/bin/env ansible-playbook

    - name: example playbook
      hosts: all
      become: yes

      roles:
        - { role: base_java8, tags: 'java8' }

License

MIT

Author Information

Bas Meijer @bbaassssiiee

About

Ansible role to install one version of Java on your development machines

License:MIT License


Languages

Language:Dockerfile 41.3%Language:Java 27.9%Language:Jinja 14.2%Language:Makefile 11.4%Language:Shell 5.3%