1
0
Fork 0
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:
A Holt 2018-07-11 19:11:29 -04:00 committed by GitHub
parent 48b9052075
commit 9c01c64d6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@
# UNCOMMENTING "version:" LINE BELOW CAN BRING STABILITY IN FUTURE
- name: Clone llaske/sugarizer-server from GitHub to /opt/iiab
git:
repo: http://github.com/llaske/sugarizer-server
repo: https://github.com/llaske/sugarizer-server
dest: "{{ sugarizer_location }}"
# version: "{{ sugarizer_server_version }}"
@ -60,7 +60,7 @@
shell: curl -sL https://deb.nodesource.com/setup_8.x | bash -
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:
name: nodejs
# name: nodejs=8.x
@ -120,7 +120,7 @@
shell: npm install
args:
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"
when: not is_F18 and not npm_exists