Use jdk21 as default in debian

This commit is contained in:
Guido Grazioli 2025-06-04 20:53:28 +02:00
commit 5c5e84b63e
3 changed files with 3 additions and 9 deletions

View file

@ -3,7 +3,7 @@ driver:
name: docker
platforms:
- name: instance
image: ghcr.io/hspaans/molecule-containers:debian-11
image: ghcr.io/hspaans/molecule-containers:debian-13
pre_build_image: true
privileged: true
port_bindings:

View file

@ -7,11 +7,5 @@
ansible.builtin.apt:
name:
- sudo
# - openjdk-21-jdk-headless # this is not available in ghcr.io/hspaans/molecule-containers:debian-11 (neither in debian-12) since the images are using outdated package sources
- openjdk-17-jdk-headless
state: present
- name: "Install iproute2"
ansible.builtin.apt:
name:
- openjdk-21-jdk-headless
- iproute2
state: present