From 2dfdf66d0c39afb0a177e217417a3235e84b1988 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 11 Feb 2021 00:00:09 +0100 Subject: [PATCH] Update to 2021-02-11 00:00 --- roles/appsmith/tasks/archive_pre.yml | 1 + roles/appsmith/tasks/install.yml | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/roles/appsmith/tasks/archive_pre.yml b/roles/appsmith/tasks/archive_pre.yml index 0b87dd7..50102b0 100644 --- a/roles/appsmith/tasks/archive_pre.yml +++ b/roles/appsmith/tasks/archive_pre.yml @@ -16,6 +16,7 @@ - server - client - etc + - meta delegate_to: "{{ inventory_hostname }}" tags: appsmith diff --git a/roles/appsmith/tasks/install.yml b/roles/appsmith/tasks/install.yml index 1c8b4b1..94d8ba5 100644 --- a/roles/appsmith/tasks/install.yml +++ b/roles/appsmith/tasks/install.yml @@ -37,6 +37,11 @@ path: /usr/lib/jvm/{{ appsmith_jre11_version.stdout | trim }} tags: appsmith +- name: Stop the service during upgrade + service: name=appsmith-server state=stopped + when: appsmith_install_mode == 'upgrade' + tags: appsmith + - when: appsmith_install_mode != 'none' block: @@ -59,7 +64,7 @@ compress: False delete: True delegate_to: "{{ inventory_hostname }}" - + - name: Compile the server command: /opt/maven/apache-maven/bin/mvn -DskipTests clean package args: