From 9994cd037be2755cd9350f288a2906831d987037 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 21 Jul 2022 17:00:06 +0200 Subject: [PATCH] Update to 2022-07-21 17:00 --- roles/appsmith/defaults/main.yml | 2 ++ roles/appsmith/tasks/install.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/appsmith/defaults/main.yml b/roles/appsmith/defaults/main.yml index 6c7512e..fc82d7e 100644 --- a/roles/appsmith/defaults/main.yml +++ b/roles/appsmith/defaults/main.yml @@ -7,6 +7,8 @@ appsmith_archive_url: https://github.com/appsmithorg/appsmith/archive/v{{ appsmi # sha1sum of the archive appsmith_archive_sha1: 67afc6178b2dea86071b728544c6733cb04bede4 +# Version to node.js +appsmith_node_version: 16.14.0 # Root directory where appsmith will be installed appsmith_root_dir: /opt/appsmith # Should ansible handle upgrades (True) or only initial install (False) diff --git a/roles/appsmith/tasks/install.yml b/roles/appsmith/tasks/install.yml index a33bd59..a72e91e 100644 --- a/roles/appsmith/tasks/install.yml +++ b/roles/appsmith/tasks/install.yml @@ -52,7 +52,7 @@ tags: appsmith - name: Install node specific version - command: n 14.15.4 + command: n "{{ appsmith_node_version }}" tags: appsmith - name: Move old NodeJS @@ -76,6 +76,7 @@ dest: "{{ appsmith_root_dir }}/tmp" checksum: sha1:{{ appsmith_archive_sha1 }} + - name: Extract appsmith archive unarchive: src: "{{ appsmith_root_dir }}/tmp/appsmith-{{ appsmith_version }}.tar.gz"