1
0
Fork 0
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:
A Holt 2019-02-12 18:23:31 -05:00 committed by GitHub
parent b0b37f8a3b
commit 96f89a2a4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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