1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

Update main.yml

This commit is contained in:
A Holt 2019-02-13 01:36:12 -05:00 committed by GitHub
parent eb418c3739
commit baad9d039e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,12 @@
state: absent state: absent
when: nodered_install when: nodered_install
# 2012-02-13: the 6 RPi stanzas below recreate Raspbian Desktop's Node-RED
# environment, inspired by:
# https://nodered.org/docs/hardware/raspberrypi
# https://github.com/node-red/raspbian-deb-package/blob/master/resources/update-nodejs-and-nodered
# https://github.com/iiab/iiab/pull/1497
- name: "Globally 'npm install' 3 Node-RED packages: node-red, node-red-admin, node-red-dashboard" - name: "Globally 'npm install' 3 Node-RED packages: node-red, node-red-admin, node-red-dashboard"
command: npm install -g --unsafe-perm node-red node-red-admin node-red-dashboard command: npm install -g --unsafe-perm node-red node-red-admin node-red-dashboard
when: nodered_install and internet_available when: nodered_install and internet_available