mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
Merge pull request #694 from codingCoffee/centfix
url fix for node on cent
This commit is contained in:
commit
1a0e5a84f5
@ -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
|
||||||
|
@ -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'
|
||||||
|
|
||||||
|
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user