mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge branch 'nodesource' into jupyterhub
This commit is contained in:
commit
0f8fdb728a
1 changed files with 6 additions and 0 deletions
|
@ -94,6 +94,12 @@
|
|||
# warn: no
|
||||
# creates: /etc/apt/sources.list.d/nodesource.list
|
||||
|
||||
- name: Remove /etc/apt/sources.list.d/nodesource.list if install failed above
|
||||
file:
|
||||
path: /etc/apt/sources.list.d/nodesource.list
|
||||
state: absent
|
||||
when: curl_nodesource.failed
|
||||
|
||||
- name: Install latest Node.js -- includes /usr/bin/npm if nodesource installed above
|
||||
package:
|
||||
#name: nodejs={{ nodejs_version }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue