library/roles/smartgears/dataminer_app: Install the algorithms jars from their svn repository. See https://support.d4science.org/issues/4917

This commit is contained in:
Andrea Dell'Amico 2016-09-08 14:47:44 +02:00
parent 01489f1874
commit 21df3e5cfd
2 changed files with 10 additions and 0 deletions

View File

@ -72,6 +72,8 @@ dataminer_configuration_jar_url: 'http://svn.research-infrastructures.eu/public/
dataminer_data_file_from_thredds: 'http://thredds.d4science.org/thredds/fileServer/public/netcdf/gebco_08_OCEANS_CLIMATOLOGY_METEOROLOGY_ATMOSPHERE_.nc'
dataminer_algorithms_repo: 'http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/DataMinerConfiguration/algorithms'
# Those packages are needed to download and configure the dataminer application
dataminer_additional_packages:
- subversion

View File

@ -112,6 +112,14 @@
when: dataminer_app_install
tags: [ 'tomcat', 'dataminer', 'wps' ]
- name: Download the dataminer algorithms jars from subversion
become: True
become_user: '{{ smartgears_user }}'
subversion: repo={{ dataminer_algorithms_repo }} dest={{ smartgears_instance_path }}/webapps/{{ dataminer_52north_webapp_name }}/WEB-INF/lib
notify: Restart smartgears
when: dataminer_app_install
tags: [ 'tomcat', 'dataminer', 'wps' ]
- name: Install the wps config file
become: True
become_user: '{{ smartgears_user }}'