1
0
Fork 0
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:
A Holt 2019-01-15 13:50:37 -05:00 committed by GitHub
parent 2db67740f6
commit 5acd823020
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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