mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
[nodejs] move to 6.x
This commit is contained in:
parent
ba772ae51c
commit
42973769f3
@ -43,18 +43,23 @@
|
|||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
|
|
||||||
- name: Add repo nodejs 5
|
- name: Get nodejs 6.x bash script
|
||||||
yum:
|
get_url:
|
||||||
name: https://rpm.nodesource.com/pub_5.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm
|
url: 'https://rpm.nodesource.com/setup_6.x'
|
||||||
state: present
|
dest: '/tmp/setup_6.x'
|
||||||
|
mode: 0644
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
|
|
||||||
- name: Install nodejs v5
|
- name: Run nodejs 6.x bash script
|
||||||
|
command: /bin/bash /tmp/setup_6.x
|
||||||
|
become: yes
|
||||||
|
become_user: root
|
||||||
|
|
||||||
|
- name: Install nodejs
|
||||||
yum:
|
yum:
|
||||||
name: nodejs
|
name: nodejs
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
|
|
||||||
|
@ -57,20 +57,20 @@
|
|||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
|
|
||||||
- name: Add nodejs v5 repo
|
- name: Get nodejs 6.x bash script
|
||||||
get_url:
|
get_url:
|
||||||
url: 'https://deb.nodesource.com/setup_5.x'
|
url: 'https://deb.nodesource.com/setup_6.x'
|
||||||
dest: '/tmp/setup_5.x'
|
dest: '/tmp/setup_6.x'
|
||||||
mode: 0644
|
mode: 0644
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
|
|
||||||
- name: Install setup_5.x
|
- name: Run nodejs bash script
|
||||||
command: /bin/bash /tmp/setup_5.x
|
command: /bin/bash /tmp/setup_6.x
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
|
|
||||||
- name: Update and Install Node v5
|
- name: Install nodejs 6.x
|
||||||
apt:
|
apt:
|
||||||
name: nodejs
|
name: nodejs
|
||||||
state: present
|
state: present
|
||||||
|
Loading…
Reference in New Issue
Block a user