2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00
bench/playbooks/roles/nodejs/tasks/debian_family.yml
2019-12-04 18:35:42 +05:30

14 lines
311 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
state: present
update_cache: yes
force: yes
...