From 20d589a837ceb264a350130329c91724fa108d5a Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 25 Sep 2017 16:54:28 +0200 Subject: [PATCH] accounting_rstudio_se_plugin: Fix the upgrade scenario. --- smartgears/accounting_rstudio_se_plugin/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartgears/accounting_rstudio_se_plugin/tasks/main.yml b/smartgears/accounting_rstudio_se_plugin/tasks/main.yml index 700c836e..c6d73fa9 100644 --- a/smartgears/accounting_rstudio_se_plugin/tasks/main.yml +++ b/smartgears/accounting_rstudio_se_plugin/tasks/main.yml @@ -2,6 +2,7 @@ - block: - name: Remove the old accounting insert storage plugin shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ accounting_insert_rstudio_se_plugin_maven_artifact_id }}-*-jar-with-dependencies.jar + notify: Restart smartgears - name: Disable the cron job that calculates the home used space cron: name="Calculate the home used space" special_time=hourly user=root job="/usr/local/bin/calculate_home_space >/dev/null 2>&1" state=absent @@ -22,7 +23,6 @@ - name: Copy the accounting aggregator plugin to its final destination copy: src={{ smartgears_downloads_dir }}/{{ accounting_insert_rstudio_se_plugin_file }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ accounting_insert_rstudio_se_plugin_file }} remote_src=yes - when: (accounting_insert_rstudio_download | changed) notify: Restart smartgears - name: Install the script that calculates the occupied space for each user