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
2018-07-04 10:54:13 +05:30

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