1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

node 6.11.x & 6.12.x were colliding on Raspbian

This commit is contained in:
A Holt 2017-11-13 22:19:36 -05:00 committed by GitHub
parent cba3d10e1f
commit d491896199
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,13 +12,15 @@
src={{ sugarizer_location }}/{{ sugarizer_version }}
state=link
- name: Set up apt sources (debuntu)
- name: Set up node 6.x apt sources (debuntu)
shell: curl -sL https://deb.nodesource.com/setup_6.x | bash -
when: internet_available and is_debuntu
- name: Install nodejs=6.* which includes /usr/bin/npm (debuntu)
package: name=nodejs=6.*
state=present
- name: Install latest nodejs which includes /usr/bin/npm (debuntu)
package: name=nodejs
state=latest
# package: name=nodejs=6.*
# state=present
when: internet_available and is_debuntu
- name: Install npm (OS's other than debuntu)