From 046be59b3e0828fb08ba482550a2cbcd2f6f967e Mon Sep 17 00:00:00 2001 From: Don Sizemore Date: Mon, 15 May 2023 10:36:51 -0400 Subject: [PATCH] #6 remove standard JDBC driver installation steps (#280) Co-authored-by: Don Sizemore --- 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