mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
Update main.yml
This commit is contained in:
parent
b0b37f8a3b
commit
96f89a2a4a
1 changed files with 6 additions and 3 deletions
|
@ -33,21 +33,24 @@
|
|||
# node-red-node-random, node-red-node-serialport, node-red-node-smooth
|
||||
- name: Globally 'npm install' pkg 'node-red' if /usr/lib/node_modules/node-red missing (most OS's except for Raspbian Desktop)
|
||||
command: npm install -g --unsafe-perm node-red
|
||||
creates: /usr/lib/node_modules/node-red
|
||||
args:
|
||||
creates: /usr/lib/node_modules/node-red
|
||||
when: nodered_install
|
||||
|
||||
# NOT pre-installed by Raspbian Desktop as of 2019-02-12...so we install this
|
||||
# on most all OS's:
|
||||
- name: Globally 'npm install' pkg 'node-red-admin' if /usr/lib/node_modules/node-red-admin missing (most OS's)
|
||||
command: npm install -g --unsafe-perm node-red-admin
|
||||
creates: /usr/lib/node_modules/node-red-admin
|
||||
args:
|
||||
creates: /usr/lib/node_modules/node-red-admin
|
||||
when: nodered_install
|
||||
|
||||
# NOT pre-installed by Raspbian Desktop as of 2019-02-12...so we install this
|
||||
# on most all OS's:
|
||||
- name: Globally 'npm install' pkg 'node-red-dashboard' if /usr/lib/node_modules/node-red-dashboard missing (most OS's)
|
||||
command: npm install -g --unsafe-perm node-red-dashboard
|
||||
creates: /usr/lib/node_modules/node-red-dashboard
|
||||
args:
|
||||
creates: /usr/lib/node_modules/node-red-dashboard
|
||||
when: nodered_install
|
||||
|
||||
- name: Ensure Linux group 'nodered' exists
|
||||
|
|
Loading…
Reference in a new issue