2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 21:19:00 +00:00
bench/playbooks/roles/nodejs/tasks/debian_family.yml

17 lines
333 B
YAML

---
- name: 'Add Node.js PPA'
tags: 'nodejs'
become: 'yes'
become_method: 'sudo'
shell: "curl --silent --location https://deb.nodesource.com/setup_{{ node_version }}.x | bash -"
- name: Install nodejs {{ node_version }}
apt:
pkg:
- nodejs
- npm
state: present
update_cache: yes
force: yes
...