From 1d8c5b11fea19b4477862207dd933543014450ba Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 25 Sep 2017 16:53:12 +0200 Subject: [PATCH] accounting_aggregator: Fix the deinstall scenario. --- smartgears/accounting_aggregator_se_plugin/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartgears/accounting_aggregator_se_plugin/tasks/main.yml b/smartgears/accounting_aggregator_se_plugin/tasks/main.yml index 03073e93..924a21bc 100644 --- a/smartgears/accounting_aggregator_se_plugin/tasks/main.yml +++ b/smartgears/accounting_aggregator_se_plugin/tasks/main.yml @@ -2,6 +2,7 @@ - block: - 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 + notify: Restart smartgears become: True become_user: '{{ smartgears_user }}' @@ -16,7 +17,6 @@ - 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_download | changed) - tags: [ 'smartgears', 'accounting_aggregator_se', 'tomcat' ] - name: Copy the accounting aggregator plugin to its final destination copy: src={{ smartgears_downloads_dir }}/{{ accounting_aggregator_se_plugin_file }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ accounting_aggregator_se_plugin_file }} remote_src=yes force=yes