install modules with pnpm

This commit is contained in:
meaz 2024-03-23 23:18:54 +01:00
parent ad7df8189b
commit 35df3485b1
Signed by: meaz
GPG key ID: CD7A47B2F1ED43B4

View file

@ -5,7 +5,7 @@
# then uses filter to get all plugins names in one line, without comas or quotes as needed for npm
- name: '[Modules] - Install modules'
shell:
cmd: "npm install --no-save --legacy-peer-deps {{ etherpad_plugins_list| dict2items | selectattr('value', 'eq', 'enabled') | map(attribute='key') |join(',') | replace(\",\", \" \") }}"
cmd: "pnpm run install-plugins {{ etherpad_plugins_list| dict2items | selectattr('value', 'eq', 'enabled') | map(attribute='key') |join(',') | replace(\",\", \" \") }}"
args:
chdir: "{{ etherpad_app_dir }}/app"
become: yes