etherpad/tasks/install.yml

18 lines
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"