11 lines
402 B
YAML
11 lines
402 B
YAML
---
|
|
- block:
|
|
- name: If it is an upgrade, shut down the server
|
|
service: name=tomcat-instance-{{ smartgears_http_port }} state=stopped
|
|
|
|
- name: If it is an upgrade, brutally remove the wps installation
|
|
file: dest={{ smartgears_instance_path }}/webapps/{{ dataminer_wps_name }} state=absent
|
|
|
|
when: dataminer_app_upgrade
|
|
tags: [ 'tomcat', 'dataminer', 'dataminer_upgrade', 'wps' ]
|