mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
Eliminate Node-RED's checking for Node.js version
This commit is contained in:
parent
c062e5101f
commit
ad007eae10
1 changed files with 5 additions and 4 deletions
|
@ -26,10 +26,11 @@
|
|||
msg: "Node-RED install cannot proceed, as Node.js is not installed."
|
||||
when: nodejs_installed is undefined
|
||||
|
||||
- name: FAIL (STOP THE INSTALL) IF 'nodejs_version != "12.x"'
|
||||
fail:
|
||||
msg: "Node-RED install cannot proceed, as it currently requires Node.js 12.x, whereas nodejs_version is set to {{ nodejs_version }}. Please check the value of nodejs_version in /opt/iiab/iiab/vars/default_vars.yml, /etc/iiab/local_vars.yml, /opt/iiab/iiab/roles/nodejs, etc."
|
||||
when: nodejs_version != "12.x"
|
||||
# 2020-10-29: not really be nec as Node-RED supports recent Node.js versions
|
||||
#- name: FAIL (STOP THE INSTALL) IF 'nodejs_version != "12.x"'
|
||||
# fail:
|
||||
# msg: "Node-RED install cannot proceed, as it currently requires Node.js 12.x, whereas nodejs_version is set to {{ nodejs_version }}. Please check the value of nodejs_version in /opt/iiab/iiab/vars/default_vars.yml, /etc/iiab/local_vars.yml, /opt/iiab/iiab/roles/nodejs, etc."
|
||||
# when: nodejs_version != "12.x"
|
||||
|
||||
|
||||
# BRUTAL but ensures consistency across OS's / distros like Raspbian Desktop &
|
||||
|
|
Loading…
Reference in a new issue