infOpen.openjdk-jre

openjdk-jre

CI Mergify Status Updates Python 3 Ansible Role

This guide is about installing the openjdk-jre package.

Requirements

To use this setup, make sure you have Ansible version 2.8 or newer. The necessary platform details can be found in the metadata file.

Testing

We use Molecule to test this setup.

By default, tests are run in Docker for both local and GitHub Actions. Refer to the Molecule documentation for details on using other options.

Currently, we test on:

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

And we support:

  • Ansible 2.8.x
  • Ansible 2.9.x

Running Tests

Using Docker

To run the tests, simply use:

$ tox

You can set Molecule options and commands using environment variables:

  • MOLECULE_OPTIONS Default: "--debug"
  • MOLECULE_COMMAND Default: "test"

Example of running a specific command:

$ MOLECULE_OPTIONS='' MOLECULE_COMMAND=converge tox

Role Variables

Default Variables

# Default variable settings for openjdk-jre role

# Debian-specific 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

No additional dependencies are required.

Example Playbook

Here's a simple playbook example:

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

License

This project is licensed under MIT.

Author Information

Alexandre Chaussier (from Infopen company)

  • Website: Infopen
  • Email: a.chaussier [at] infopen.pro
Informazioni sul progetto

Ansible role to install and configure openjdk-jre

Installa
ansible-galaxy install infOpen.openjdk-jre
Licenza
mit
Download
9.8k
Proprietario
Infopen company