From 1d64693617f1d96045d8d64a6495142813b5dfb6 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 5 Oct 2022 09:49:39 +0000 Subject: [PATCH] winroom: install JDK from installer Chocolatey is problematic. --- roles/winroom/tasks/JDK.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/winroom/tasks/JDK.yml b/roles/winroom/tasks/JDK.yml index 9f09113..a390bad 100644 --- a/roles/winroom/tasks/JDK.yml +++ b/roles/winroom/tasks/JDK.yml @@ -1,6 +1,7 @@ - name: Install Oracle JDK - win_chocolatey: - name: oraclejdk + win_package: + path: https://download.oracle.com/java/19/latest/jdk-19_windows-x64_bin.msi + arguments: INSTALLLEVEL=3 - name: Find Java version win_reg_stat: