Update to 2022-02-27 13:00

This commit is contained in:
Daniel Berteaud
2022-02-27 13:00:07 +01:00
parent d97344a846
commit d406dc8c77
6 changed files with 22 additions and 19 deletions

View File

@@ -44,6 +44,16 @@
when: appsmith_install_mode == 'upgrade'
tags: appsmith
- name: Install expect node version
package: name=nodejs-14.15.4
tags: appsmith
- name: Install yarn
npm:
name: yarn
global: True
tags: appsmith
- when: appsmith_install_mode != 'none'
block:
@@ -51,7 +61,7 @@
get_url:
url: "{{ appsmith_archive_url }}"
dest: "{{ appsmith_root_dir }}/tmp"
checksum: sha1:{{ appsmith_archive_sha1 }}
checksum: sha256:{{ appsmith_archive_sha256 }}
- name: Extract appsmith archive
unarchive:
@@ -87,19 +97,8 @@
copy: src={{ item }} dest={{ appsmith_root_dir }}/server/plugins/ remote_src=True
loop: "{{ appsmith_plugins_jar.stdout_lines }}"
- name: Install yarn
npm:
name: yarn
path: "{{ appsmith_root_dir }}/src/app/client"
- name: Install NodeJS dependencies
command: ./node_modules/yarn/bin/yarn install --ignore-engines
args:
chdir: "{{ appsmith_root_dir }}/src/app/client"
# Not sure why but yarn installs webpack 4.46.0 while appsmith wants 4.44.2
- name: Install correct webpack version
command: ./node_modules/yarn/bin/yarn add webpack@4.44.2 --ignore-engines
command: yarn install --ignore-engines
args:
chdir: "{{ appsmith_root_dir }}/src/app/client"