mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 08:30:39 +00:00
url fix for node on cent
This commit is contained in:
parent
d0b0bf92de
commit
f180f026ef
@ -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