diff --git a/roles/sugarizer/tasks/main.yml b/roles/sugarizer/tasks/main.yml index b432a1a6c..b02084a4a 100644 --- a/roles/sugarizer/tasks/main.yml +++ b/roles/sugarizer/tasks/main.yml @@ -1,4 +1,4 @@ -- name: Fail if nodejs_version is not set to {{ nodejs_version }} +- name: Fail if nodejs_version is not set to 10.x fail: msg: "Sugarizer install cannot proceeed, as it currently requires Node.js 10.x, and your nodejs_version is set to {{ nodejs_version }}. Please check the value of nodejs_version in /opt/iiab/iiab/vars/default_vars.yml and possibly also /etc/iiab/local_vars.yml" when: sugarizer_install and (nodejs_version != "10.x")