mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
Update main.yml
This commit is contained in:
parent
2db67740f6
commit
5acd823020
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
shell: curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
shell: curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
when: internet_available and (is_debian_8 or is_debian_9) and nodered_install
|
when: internet_available and (is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17) and nodered_install
|
||||||
# NOT NEC TO TEST FOR is_raspbian_8 OR is_raspbian_9 AS /opt/iiab/iiab/vars/<OS>.yml
|
# NOT NEC TO TEST FOR is_raspbian_8 OR is_raspbian_9 AS /opt/iiab/iiab/vars/<OS>.yml
|
||||||
# DEFINES THESE AS SUBSETS OF is_debian_8 OR is_debian_9 (FOR NOW!)
|
# DEFINES THESE AS SUBSETS OF is_debian_8 OR is_debian_9 (FOR NOW!)
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
# name: nodejs=8.x
|
# name: nodejs=8.x
|
||||||
state: latest
|
state: latest
|
||||||
# state: present
|
# state: present
|
||||||
when: internet_available and (is_debian_8 or is_debian_9) and nodered_install
|
when: internet_available and (is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17) and nodered_install
|
||||||
|
|
||||||
# 2019-01-15: WE'RE BORROWING npm INSTALLATION TRICKS FROM MID-2018 SUGARIZER:
|
# 2019-01-15: WE'RE BORROWING npm INSTALLATION TRICKS FROM MID-2018 SUGARIZER:
|
||||||
# https://github.com/iiab/iiab/blob/master/roles/sugarizer/tasks/main.yml#L77-L94
|
# https://github.com/iiab/iiab/blob/master/roles/sugarizer/tasks/main.yml#L77-L94
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
- nodejs
|
- nodejs
|
||||||
- npm
|
- npm
|
||||||
state: latest
|
state: latest
|
||||||
when: internet_available and not (is_debian_8 or is_debian_9) and nodered_install
|
when: internet_available and not (is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17) and 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'
|
||||||
|
|
Loading…
Reference in a new issue