mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-26 15:55:56 +02:00
Update to 2022-02-27 13:00
This commit is contained in:
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user