Skip to content

Commit

Permalink
Merge pull request #94 from icatproject-contrib/payara-6.2023.9
Browse files Browse the repository at this point in the history
Upgrade default Payara version to 6.2023.9
  • Loading branch information
ajkyffin authored Sep 15, 2023
2 parents c8a8933 + 0f9f14c commit 2e16209
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion roles/payara/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -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 }}'
Expand Down
6 changes: 0 additions & 6 deletions roles/payara/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2e16209

Please sign in to comment.