From de91f58d543c7b5584bda690a64b8fa6ed9e4f44 Mon Sep 17 00:00:00 2001 From: Morgan Patou Date: Wed, 6 Dec 2023 17:13:49 +0100 Subject: [PATCH] Fix installing custom JDBC driver (#730) --- roles/repository/tasks/main.yml | 2 +- roles/sync/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/repository/tasks/main.yml b/roles/repository/tasks/main.yml index 196cad29b..d8b58db89 100644 --- a/roles/repository/tasks/main.yml +++ b/roles/repository/tasks/main.yml @@ -279,7 +279,7 @@ - name: Copy db_connector_repo to {{ tomcat_config_dir }}/lib/ folder ansible.builtin.copy: - src: "{{ inventory_dir }}/configuration_files/db_connector_repo/" + src: "{{ role_path }}/../../configuration_files/db_connector_repo/" dest: "{{ tomcat_config_dir }}/lib/" owner: "{{ username }}" group: "{{ group_name }}" diff --git a/roles/sync/tasks/main.yml b/roles/sync/tasks/main.yml index dddd2f12f..e20580961 100644 --- a/roles/sync/tasks/main.yml +++ b/roles/sync/tasks/main.yml @@ -63,7 +63,7 @@ - name: Copy db_connector to {{ sync_home }}/service-sync/connectors folder ansible.builtin.copy: - src: "{{ inventory_dir }}/configuration_files/db_connector_sync/" + src: "{{ role_path }}/../../configuration_files/db_connector_sync/" dest: "{{ sync_home }}/service-sync/connectors/" owner: "{{ username }}" group: "{{ group_name }}"