2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 13:09:01 +00:00
bench/playbooks/roles/nodejs/tasks/debian_family.yml
Marco Gabriel 72c70b23bf feat(easy_install): add support for debian 10
* Easy Installer did not support Debian 10 Buster, so I changed the playbooks to support Debian 10.
* Related Issue: #831
* Tested in a newly deployed Debian 10 Buster running on KVM and in a brand new deployed LXC Container (--container) also running fine.
2019-12-15 10:19:33 +05:30

17 lines
334 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
- npm
state: present
update_cache: yes
force: yes
...