24 lines
583 B
YAML
24 lines
583 B
YAML
---
|
|
|
|
- name: '[INSTALL] - Add Nodesource apt key.'
|
|
apt_key:
|
|
url: https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key
|
|
state: present
|
|
|
|
- name: '[INSTALLDEPS] - Add repository for nodejs'
|
|
apt_repository:
|
|
repo: deb https://deb.nodesource.com/node_{{ etherpad_nodejs_version }}.x nodistro main
|
|
state: present
|
|
update_cache: yes
|
|
filename: 'nodesource'
|
|
|
|
- name: '[INSTALLDEPS] - Install dependencies'
|
|
apt:
|
|
name: "{{ etherpad_apt }}"
|
|
update_cache: yes
|
|
state: latest
|
|
|
|
- name: '[INSTALLDEPS] - Install pnpm'
|
|
npm:
|
|
name: pnpm
|
|
global: true |