mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
Update main.yml
This commit is contained in:
parent
48b9052075
commit
9c01c64d6b
1 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@
|
||||||
# UNCOMMENTING "version:" LINE BELOW CAN BRING STABILITY IN FUTURE
|
# UNCOMMENTING "version:" LINE BELOW CAN BRING STABILITY IN FUTURE
|
||||||
- name: Clone llaske/sugarizer-server from GitHub to /opt/iiab
|
- name: Clone llaske/sugarizer-server from GitHub to /opt/iiab
|
||||||
git:
|
git:
|
||||||
repo: http://github.com/llaske/sugarizer-server
|
repo: https://github.com/llaske/sugarizer-server
|
||||||
dest: "{{ sugarizer_location }}"
|
dest: "{{ sugarizer_location }}"
|
||||||
# version: "{{ sugarizer_server_version }}"
|
# version: "{{ sugarizer_server_version }}"
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
shell: curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
shell: curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
||||||
when: internet_available and is_debuntu and not is_ubuntu_18
|
when: internet_available and is_debuntu and not is_ubuntu_18
|
||||||
|
|
||||||
- name: Install latest Node.js which includes /usr/bin/npm (debuntu)
|
- name: Install latest Node.js which includes /usr/bin/npm (debuntu but avoid ubuntu-18)
|
||||||
package:
|
package:
|
||||||
name: nodejs
|
name: nodejs
|
||||||
# name: nodejs=8.x
|
# name: nodejs=8.x
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
shell: npm install
|
shell: npm install
|
||||||
args:
|
args:
|
||||||
chdir: "{{ sugarizer_location }}/{{ sugarizer_server_version }}"
|
chdir: "{{ sugarizer_location }}/{{ sugarizer_server_version }}"
|
||||||
creates: "{{ sugarizer_location }}/{{ sugarizer_server_version }}/node-modules"
|
creates: "{{ sugarizer_location }}/{{ sugarizer_server_version }}/node_modules"
|
||||||
#creates: "{{ sugarizer_location }}/{{ sugarizer_server_version }}/server/node_modules"
|
#creates: "{{ sugarizer_location }}/{{ sugarizer_server_version }}/server/node_modules"
|
||||||
when: not is_F18 and not npm_exists
|
when: not is_F18 and not npm_exists
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue