openjdk-jre

openjdk-jre

CI Mergify Status Updates Python 3 Ansible Role

Install openjdk-jre package.

Requirements

This role requires Ansible 2.8 or higher, and platform requirements are listed in the metadata file.

Testing

This role use Molecule to run tests.

Local and Github Actions tests run tests on Docker by default. See molecule documentation to use other backend.

Currently, tests are done on:

  • CentOS 7
  • CentOS 8
  • Debian Buster
  • Debian Stretch
  • Ubuntu Bionic
  • Ubuntu Focal

and use:

  • Ansible 2.8.x
  • Ansible 2.9.x

Running tests

Using Docker driver

$ tox

You can also configure molecule options and molecule command using environment variables:

  • MOLECULE_OPTIONS Default: "--debug"
  • MOLECULE_COMMAND Default: "test"
$ MOLECULE_OPTIONS='' MOLECULE_COMMAND=converge tox

Role Variables

Default role variables

# Defaults vars file for openjdk-jre role

# Specific Debian family settings
openjdk_jre_apt_update_cache: True
openjdk_jre_apt_cache_valid_time: 3600

# General settings
openjdk_jre_version: "{{ _openjdk_jre_version }}"
openjdk_jre_packages: "{{ _openjdk_jre_packages }}"

Dependencies

None

Example Playbook

- hosts: servers
  roles:
    - { role: infOpen.openjdk-jre }

License

MIT

Author Information

Alexandre Chaussier (for Infopen company)

About

Ansible role to install and configure openjdk-jre

Install
ansible-galaxy install infOpen/ansible-role-openjdk-jre
GitHub repository
License
mit
Downloads
9794
Owner
Infopen company