Install and configure AdoptOpenJDK on RHEL/CentOS- and Debian-based systems.
ansible-galaxy install ayltai.adoptopenjdk
---
- hosts: all
roles:
- ayltai.adoptopenjdk
vars:
adoptopenjdk_package: adoptopenjdk-11-openj9
Name | Default | Description |
---|---|---|
adoptopenjdk_package |
adoptopenjdk-11-openj9 |
The name of AdoptOpenJDK installation package. |
This project uses Docker to create an unified environment for development.
Download and install Docker from here.
docker build --tag adoptopenjdk:latest .
docker run \
--privileged \
-v $(pwd):/ansible-adoptopenjdk \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-it --rm \
adoptopenjdk:latest
Now you have a shell running on a system with all the necessary tools installed.
In the Docker container, run:
pip3 install -r requirements.txt
In the Docker container, run:
molecule test