mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
3341453487
commit
688427ddf5
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,13 @@
|
||||||
# 2019-01-16: @jvonau's PR #1403 moved installation of Node.js (8.x for now) &
|
# 2019-01-16: @jvonau's PR #1403 moved installation of Node.js (8.x for now) &
|
||||||
# npm to roles/nodejs/tasks/main.yml, triggered by roles/nodered/meta/main.yml
|
# npm to roles/nodejs/tasks/main.yml, triggered by roles/nodered/meta/main.yml
|
||||||
|
|
||||||
|
# BRUTAL but ensures consistency across OS's / distros like Raspbian Desktop & Ubermix that often include an older version of Node-RED
|
||||||
|
- name: ASK apt/yum/dnf TO REMOVE PRE-EXISTING Node-RED (IF IT WAS INSTALLED BY OS PKG MANAGER)
|
||||||
|
package:
|
||||||
|
name: nodered
|
||||||
|
state: absent
|
||||||
|
when: nodered_install
|
||||||
|
|
||||||
- name: 'npm install node-red packages globally: node-red, node-red-admin, node-red-dashboard'
|
- name: 'npm install node-red packages globally: node-red, node-red-admin, node-red-dashboard'
|
||||||
shell: npm install -g --unsafe-perm node-red node-red-admin node-red-dashboard
|
shell: npm install -g --unsafe-perm node-red node-red-admin node-red-dashboard
|
||||||
when: nodered_install
|
when: nodered_install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue