update how to install node + add pnpm
This commit is contained in:
parent
2e109e5a07
commit
9c70f6b519
1 changed files with 9 additions and 4 deletions
|
@ -1,18 +1,23 @@
|
|||
---
|
||||
|
||||
- name: '[INSTALLDEPS] - Add Nodesource apt key.'
|
||||
- name: '[INSTALL] - Add Nodesource apt key.'
|
||||
apt_key:
|
||||
url: https://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x1655A0AB68576280
|
||||
id: "68576280"
|
||||
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 {{ ansible_distribution_release }} main
|
||||
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
|
||||
|
||||
- name: '[INSTALLDEPS] - Install pnpm'
|
||||
npm:
|
||||
name: pnpm
|
||||
global: true
|
Loading…
Reference in a new issue