2016-06-13 16:24:30 +02:00
|
|
|
---
|
2017-05-09 17:59:56 +02:00
|
|
|
- block:
|
|
|
|
- name: Remove the old is-sweeper plugin
|
|
|
|
shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/is-sweeper-se-plugin-*-jar-with-dependencies.jar
|
|
|
|
when: is_sweeper_se_plugin_upgrade
|
|
|
|
|
|
|
|
- name: Install the is-sweeper plugin inside the smart executor lib directory
|
|
|
|
maven_artifact: artifact_id={{ is_sweeper_se_plugin_name }} version={{ is_sweeper_se_plugin_version | default(omit) }} group_id={{ is_sweeper_se_plugin_group_id }} extension={{ is_sweeper_se_plugin_extension | default('war') }} repository_url={{ smartgears_global_base_url }} classifier={{ is_sweeper_se_plugin_classifier }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ is_sweeper_se_plugin_file }}
|
|
|
|
notify: Restart smartgears
|
|
|
|
|
2016-06-13 16:24:30 +02:00
|
|
|
become: True
|
|
|
|
become_user: '{{ smartgears_user }}'
|
|
|
|
when: is_sweeper_se_plugin_install
|
|
|
|
tags: [ 'smartgears', 'is_sweeper_se', 'tomcat' ]
|
|
|
|
|