2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 08:16:28 +00:00
bench/playbooks/roles/nodejs/tasks/debian_family.yml

14 lines
312 B
YAML
Raw Normal View History

---
2018-07-04 05:24:13 +00:00
- 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 -"
2018-07-03 07:28:52 +00:00
- name: Install nodejs {{ node_version }}
apt:
name: nodejs
state: present
update_cache: yes
force: yes
...