library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Copy the algorithms inside the WPS WEB-INF/lib directory. It's temporary, until Lucio finds a way to dynamically load them.

This commit is contained in:
Andrea Dell'Amico 2017-05-11 20:29:08 +02:00
parent f4bbb267ab
commit 660341fd56
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@
- name: Download the WPS algorithms from subversion
subversion: repo={{ dataminer_wps_algorithms_svn }} dest={{ smartgears_user_home }}/wps_algorithms/algorithms checkout=yes force=yes update=yes
- name: TEMPORARY copy the dataminer algorithms into the WPS WEB-INF/lib
shell: cp -a {{ smartgears_user_home }}/wps_algorithms/algorithms/*.jar {{ smartgears_instance_path }}/webapps/{{ dataminer_wps_name }}/WEB-INF/lib/
when: dataminer_wps_copy_algorithms is defined and dataminer_wps_copy_algorithms
- name: Create a directory where to install the gebco_08.nc data file
file: path={{ smartgears_user_home }}/data state=directory