mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
remove internet_available install.yml and child tasks
This commit is contained in:
parent
1ae77a8b25
commit
b1ce429f50
19 changed files with 5 additions and 30 deletions
|
@ -48,11 +48,11 @@
|
|||
command: npm install -g --unsafe-perm node-red node-red-admin node-red-dashboard
|
||||
#command: npm install -g --unsafe-perm node-red@latest node-red-admin@latest node-red-dashboard@latest
|
||||
# Above "@latest" is recommended by https://nodered.org/docs/hardware/raspberrypi (SHOULD WE CONSIDER?)
|
||||
when: nodered_install and internet_available
|
||||
when: nodered_install
|
||||
|
||||
- name: "Globally 'npm install' 8 Node-RED learning examples for RPi: node-red-contrib-ibm-watson-iot, node-red-contrib-play-audio, node-red-node-ledborg, node-red-node-ping, node-red-node-pi-sense-hat, node-red-node-random, node-red-node-serialport, node-red-node-smooth"
|
||||
command: npm install -g --unsafe-perm node-red-contrib-ibm-watson-iot node-red-contrib-play-audio node-red-node-ledborg node-red-node-ping node-red-node-pi-sense-hat node-red-node-random node-red-node-serialport node-red-node-smooth
|
||||
when: nodered_install and internet_available and is_raspbian
|
||||
when: nodered_install and is_raspbian
|
||||
|
||||
## To protect pre-installed packages within /usr/lib/node_modules in graphical
|
||||
## desktop OS's like Raspbian Desktop & Ubermix, we now only install those that
|
||||
|
@ -93,7 +93,7 @@
|
|||
when: nodered_install and not is_raspbian
|
||||
|
||||
- include_tasks: rpi_desk.yml
|
||||
when: nodered_install and internet_available and is_raspbian
|
||||
when: nodered_install and is_raspbian
|
||||
|
||||
- name: Install /etc/systemd/system/nodered.service systemd unit file from template
|
||||
template:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue