16 lines
799 B
YAML
16 lines
799 B
YAML
---
|
|
- name: Remove the old accounting insert storage plugin
|
|
shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ accounting_insert_storage_se_plugin_maven_artifact_id }}-*-jar-with-dependencies.jar
|
|
when: accounting_insert_storage_se_plugin_upgrade
|
|
tags: [ 'smartgears', 'accounting_insert_storage_se', 'tomcat' ]
|
|
|
|
|
|
- name: Get the accounting insert storage plugin and install it inside the smart executor
|
|
become: True
|
|
become_user: '{{ smartgears_user }}'
|
|
get_url: url={{ accounting_insert_storage_se_plugin_url }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib
|
|
when: accounting_insert_storage_se_plugin_install
|
|
notify: Restart smartgears
|
|
tags: [ 'smartgears', 'accounting_insert_storage_se', 'tomcat' ]
|
|
|