diff --git a/smartgears/dataminer_app/tasks/dataminer-app.yml b/smartgears/dataminer_app/tasks/dataminer-app.yml index c65529b5..814dc781 100644 --- a/smartgears/dataminer_app/tasks/dataminer-app.yml +++ b/smartgears/dataminer_app/tasks/dataminer-app.yml @@ -31,6 +31,11 @@ template: src=wps-config-fixer.j2 dest=/usr/local/bin/wps-config-fixer owner=root group=root mode=0555 with_items: '{{ tomcat_m_instances }}' + - name: Install the catalina additional configuration + template: src={{ dataminer_wps_name }}.xml.j2 dest={{ item.instance_path }}/conf/Catalina/localhost/{{ dataminer_wps_name }}.xml + with_items: '{{ tomcat_m_instances }}' + notify: Restart smartgears + - name: Fix the WPS config file shell: /usr/local/bin/wps-config-fixer # notify: Restart smartgears diff --git a/smartgears/dataminer_app/templates/wps.xml.j2 b/smartgears/dataminer_app/templates/wps.xml.j2 new file mode 100644 index 00000000..65752a76 --- /dev/null +++ b/smartgears/dataminer_app/templates/wps.xml.j2 @@ -0,0 +1,6 @@ + + + + +