accounting_insert_storage_se_plugin: Fix the upgrade scenario.

This commit is contained in:
Andrea Dell'Amico 2017-09-25 16:53:26 +02:00
parent 1d8c5b11fe
commit 9062535a35
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,7 @@
- block: - block:
- name: Remove the old accounting insert storage plugin - 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 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
notify: Restart smartgears
become: True become: True
become_user: '{{ smartgears_user }}' become_user: '{{ smartgears_user }}'
@ -19,7 +20,6 @@
- name: Copy the accounting aggregator plugin to its final destination - name: Copy the accounting aggregator plugin to its final destination
copy: src={{ smartgears_downloads_dir }}/{{ accounting_insert_storage_se_plugin_file }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ accounting_insert_storage_se_plugin_file }} remote_src=yes copy: src={{ smartgears_downloads_dir }}/{{ accounting_insert_storage_se_plugin_file }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ accounting_insert_storage_se_plugin_file }} remote_src=yes
when: (accounting_insert_storage_download | changed)
notify: Restart smartgears notify: Restart smartgears
become: True become: True