From 0f9f14cf984e4106c2258fbce2abeca45d62ed42 Mon Sep 17 00:00:00 2001 From: Alan Kyffin Date: Fri, 15 Sep 2023 10:09:33 +0100 Subject: [PATCH] Upgrade default Payara version to 6.2023.9 --- roles/payara/defaults/main.yml | 2 +- roles/payara/tasks/main.yml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/roles/payara/defaults/main.yml b/roles/payara/defaults/main.yml index b84f7e8..aec7523 100644 --- a/roles/payara/defaults/main.yml +++ b/roles/payara/defaults/main.yml @@ -1,6 +1,6 @@ --- -payara_version: '6.2023.8' +payara_version: '6.2023.9' payara_dir: '/home/{{ payara_user }}/payara{{ payara_version }}' payara_domain: 'domain1' payara_domain_dir: '{{ payara_dir }}/glassfish/domains/{{ payara_domain }}' diff --git a/roles/payara/tasks/main.yml b/roles/payara/tasks/main.yml index b9a3ef9..8db8ecc 100644 --- a/roles/payara/tasks/main.yml +++ b/roles/payara/tasks/main.yml @@ -135,12 +135,6 @@ line: 'AS_JAVA="{{ java_dir }}"' regexp: '^AS_JAVA=' -- name: 'Temporary fix for Java 17' - lineinfile: - path: '{{ payara_dir }}/glassfish/config/asenv.conf' - line: 'export JAVA_TOOL_OPTIONS="--add-opens=java.base/java.io=ALL-UNNAMED"' - regexp: 'JAVA_TOOL_OPTIONS=' - - name: 'Setup payara if not setup' import_tasks: tasks/installation.yml when: (ansible_local is not defined) or (ansible_local.local is not defined) or (ansible_local.local.instantiations is not defined) or (ansible_local.local.instantiations.payara is not defined) or (ansible_local.local.instantiations.payara != 'true') or (ansible_local.local.versions.payara != payara_version)