From 278a70d62768e245e3df4a4feafdb9a3ce326e88 Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Thu, 25 Apr 2024 13:57:31 +0200 Subject: [PATCH] ci: downstream molecule fixes --- molecule/quarkus/prepare.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/molecule/quarkus/prepare.yml b/molecule/quarkus/prepare.yml index 28b42c6..1efdb15 100644 --- a/molecule/quarkus/prepare.yml +++ b/molecule/quarkus/prepare.yml @@ -24,9 +24,7 @@ - name: Make sure a jre is available (for keytool to prepare keystore) delegate_to: localhost ansible.builtin.package: - name: - - java-17-openjdk-headless - - openjdk-17-jdk-headless + name: "{{ 'java-17-openjdk-headless' if hera_home | length > 0 else 'openjdk-17-jdk-headless' }}" state: present become: true failed_when: false