Commit 2703fe31 authored by rgaudin's avatar rgaudin
Browse files

Using official node instead of raspbian

parent 6bcbf18c
...@@ -2,25 +2,18 @@ ...@@ -2,25 +2,18 @@
- import_tasks: clean_apt.yml - import_tasks: clean_apt.yml
tags: setup tags: setup
- name: Get nodejs repository installer - name: download node
get_url: get_url:
url: https://deb.nodesource.com/setup_10.x url: "{{ mirror }}/dev/node-v10.16.3-linux-armv6l.tar.xz"
dest: /tmp/setup_10.x dest: /tmp/node-v10.16.3-linux-armv6l.tar.xz
mode: 0755
tags: setup tags: setup
- name: Run nodejs repository installer - name: extract mediawiki
command: /tmp/setup_10.x command: tar -C /tmp -x -f /tmp/node-v10.16.3-linux-armv6l.tar.xz
tags: setup tags: setup
- name: Install nodejs - name: install node files
environment: command: mv /tmp/node-v10.16.3-linux-armv6l/bin/* /usr/bin/ && mv /tmp/node-v10.16.3-linux-armv6l/include/node /usr/include/ && mv /tmp/node-v10.16.3-linux-armv6l/lib/node_modules /usr/lib/ && ln -s /usr/bin/node /usr/sbin/node
RUNLEVEL: 1
apt:
name: nodejs
state: latest
autoremove: yes
autoclean: yes
tags: setup tags: setup
- name: Install dependencies (tex, for MathRenderer) - name: Install dependencies (tex, for MathRenderer)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment