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:
parent
cba3d10e1f
commit
d491896199
1 changed files with 6 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue