Add a couple of new labels so that we can configure a manually deployed wps war file (useful for testing or debugging).

This commit is contained in:
Andrea Dell'Amico 2018-12-14 16:44:16 +01:00
parent e669d0333f
commit 9e663e07c9
1 changed files with 2 additions and 0 deletions

View File

@ -19,10 +19,12 @@
- name: Install the dataminer web.xml - name: Install the dataminer web.xml
template: src=web.xml.j2 dest={{ smartgears_instance_path }}/webapps/{{ dataminer_wps_name }}/WEB-INF/web.xml template: src=web.xml.j2 dest={{ smartgears_instance_path }}/webapps/{{ dataminer_wps_name }}/WEB-INF/web.xml
notify: Restart smartgears notify: Restart smartgears
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_webxml' ]
- name: Install the old properties files - name: Install the old properties files
copy: src={{ item }} dest={{ smartgears_instance_path }}/webapps/{{ dataminer_wps_name }}/ecocfg/{{ item }} force=yes copy: src={{ item }} dest={{ smartgears_instance_path }}/webapps/{{ dataminer_wps_name }}/ecocfg/{{ item }} force=yes
with_items: '{{ dataminer_properties_files }}' with_items: '{{ dataminer_properties_files }}'
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_properties' ]
- name: Install the script that fixes the WPS configuration - name: Install the script that fixes the WPS configuration
become_user: "{{ d4science_ansible_become_user | default('root') }}" become_user: "{{ d4science_ansible_become_user | default('root') }}"