From 409e3db2ae9d882569bb059ad94883d1adc01fbd Mon Sep 17 00:00:00 2001 From: Don Sizemore Date: Thu, 11 May 2023 14:22:19 -0400 Subject: [PATCH] #6 remove standard JDBC driver installation steps --- tasks/payara.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/tasks/payara.yml b/tasks/payara.yml index 1bd02e61..29f8421c 100644 --- a/tasks/payara.yml +++ b/tasks/payara.yml @@ -79,8 +79,7 @@ when: dataverse.payara.zipurl is match(".*glassfish-4.1.zip") notify: enable and restart payara -# python installer fails to place jdbc driver for whatever reason -# and we want this configurable for testing updated drivers anyway +# we don't need the JDBC driver any more but let's keep custom JDBC URLs - name: set jdbcurl set_fact: jdbc_url='{{ db.postgres.jdbcurl }}' @@ -91,22 +90,6 @@ dest: '{{ payara_dir }}/glassfish/lib/' when: jdbc_url|default(None) -- name: allow installer write access for release jdbc driver - file: - path: '{{ payara_dir }}/glassfish/lib' - state: directory - owner: '{{ dataverse.payara.user }}' - when: not jdbc_url|default(None) - -- name: install release jdbc driver - copy: - src: "{{ item }}" - dest: "{{ payara_dir }}/glassfish/lib/" - remote_src: true - when: not jdbc_url|default(None) - notify: enable and restart payara - with_fileglob: /tmp/dvinstall/pgdriver/postgresql-*.jar - - name: increase resource limits for payara blockinfile: path: /etc/security/limits.conf