forked from ISTI-ansible-roles/ansible-roles
12 lines
466 B
YAML
12 lines
466 B
YAML
---
|
|
- name: If it is an upgrade, shut down the server
|
|
service: name=tomcat-instance-{{ smartgears_http_port }} state=stopped
|
|
when: dataminer_app_upgrade
|
|
tags: [ 'tomcat', 'dataminer', 'dataminer_upgrade' ]
|
|
|
|
- name: If it is an upgrade, brutally remove the wps installation
|
|
file: dest={{ smartgears_instance_path }}/webapps/{{ dataminer_52north_webapp_name }} state=absent
|
|
when: dataminer_app_upgrade
|
|
tags: [ 'tomcat', 'dataminer', 'dataminer_upgrade' ]
|
|
|