etherpad/tasks/install.yml
meaz 62a7145f3a build admin page (#22)
Fix the issue with admin page.
Also, I know we got that discussion already for cryptpad, but I removed npm package as it is already installed with nodejs even on bookworm. Otherwise I get an error as it is trying to install`npm=9.2.0` whereas with nodejs you get `npm=10.5.0`

Reviewed-on: #22
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
Co-authored-by: meaz <meaz@disroot.org>
Co-committed-by: meaz <meaz@disroot.org>
2024-04-16 22:58:44 +02:00

18 lines
No EOL
411 B
YAML

---
- name: '[INSTALL] - Install with pnpm'
shell:
cmd: pnpm install
args:
chdir: "{{ etherpad_app_dir }}/app"
become: yes
become_user: "{{ etherpad_username }}"
- name: '[INSTALL] - Build admin pages with pnpm'
shell:
cmd: pnpm run build
args:
chdir: "{{ etherpad_app_dir }}/app/admin"
become: yes
become_user: "{{ etherpad_username }}"
when: etherpad_admin_page == "true"