2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

url fix for node on cent

This commit is contained in:
Ameya Shenoy 2018-07-04 10:54:13 +05:30
parent d0b0bf92de
commit f180f026ef
3 changed files with 12 additions and 8 deletions

View File

@ -1,4 +1,10 @@
---
- 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

View File

@ -1,12 +1,4 @@
---
# Install's prerequisites, like fonts, image libraries, vim, screen, python-dev and gcc
- 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 -"
- include_tasks: debian_family.yml
when: ansible_os_family == 'Debian'

View File

@ -1,4 +1,10 @@
---
- 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 -"
- name: Install node v{{ node_version }}
yum: name=nodejs state=present
when: ansible_os_family == 'RedHat'