2016-09-16 16:42:12 +02:00
|
|
|
---
|
2016-12-05 17:22:28 +01:00
|
|
|
- name: Remove the old accounting aggregator plugin
|
|
|
|
shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/accounting-aggregator-se-plugin-*-jar-with-dependencies.jar
|
|
|
|
when: accounting_aggregator_se_plugin_upgrade
|
|
|
|
tags: [ 'smartgears', 'accounting_aggregator_se', 'tomcat' ]
|
|
|
|
|
|
|
|
|
2016-09-16 16:42:12 +02:00
|
|
|
- name: Get the accounting aggregator plugin and install it inside the smart executor
|
|
|
|
become: True
|
|
|
|
become_user: '{{ smartgears_user }}'
|
|
|
|
get_url: url={{ accounting_aggregator_se_plugin_url }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib
|
|
|
|
when: accounting_aggregator_se_plugin_install
|
|
|
|
notify: Restart smartgears
|
|
|
|
tags: [ 'smartgears', 'accounting_aggregator_se', 'tomcat' ]
|
|
|
|
|