2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 13:09:01 +00:00

Merge pull request #694 from codingCoffee/centfix

url fix for node on cent
This commit is contained in:
Ameya Shenoy 2018-07-04 10:56:05 +05:30 committed by GitHub
commit 1a0e5a84f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }} - name: Install nodejs {{ node_version }}
apt: apt:
name: nodejs 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 - include_tasks: debian_family.yml
when: ansible_os_family == 'Debian' 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 }} - name: Install node v{{ node_version }}
yum: name=nodejs state=present yum: name=nodejs state=present
when: ansible_os_family == 'RedHat' when: ansible_os_family == 'RedHat'