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

11 lines
307 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://rpm.nodesource.com/setup_{{ node_version }}.x | sudo bash -"
2018-07-03 07:28:52 +00:00
- name: Install node v{{ node_version }}
yum: name=nodejs state=present
when: ansible_os_family == 'RedHat'
...