forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: The dataminer algorithms must be copied on the right place, tomcat cannot read symlinks.
This commit is contained in:
parent
85596e2d1f
commit
f864b8648e
|
@ -115,10 +115,21 @@
|
|||
- 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
|
||||
subversion: repo={{ dataminer_algorithms_repo }} dest={{ smartgears_instance_path }}/webapps/{{ dataminer_52north_webapp_name }}/WEB-INF/lib/.algorithms
|
||||
notify: Restart smartgears
|
||||
register: dataminer_algorithms
|
||||
when: dataminer_app_install
|
||||
tags: [ 'tomcat', 'dataminer', 'wps' ]
|
||||
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_algorithms' ]
|
||||
|
||||
- name: Move the dataminer algorithms jars to the right place
|
||||
become: True
|
||||
become_user: '{{ smartgears_user }}'
|
||||
shell: cd {{ smartgears_instance_path }}/webapps/{{ dataminer_52north_webapp_name }}/WEB-INF/lib ; mv {{ smartgears_instance_path }}/webapps/{{ dataminer_52north_webapp_name }}/WEB-INF/lib/.algorithms/*.jar .
|
||||
notify: Restart smartgears
|
||||
when:
|
||||
- dataminer_app_install
|
||||
- ( dataminer_algorithms | changed )
|
||||
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_algorithms' ]
|
||||
|
||||
- name: Install the wps config file
|
||||
become: True
|
||||
|
|
Loading…
Reference in New Issue