diff --git a/roles/sugarizer/tasks/main.yml b/roles/sugarizer/tasks/main.yml index 3f1733806..9b9cb3f31 100644 --- a/roles/sugarizer/tasks/main.yml +++ b/roles/sugarizer/tasks/main.yml @@ -21,7 +21,7 @@ - name: Set up Node.js 6.x apt sources (debuntu) shell: curl -sL https://deb.nodesource.com/setup_6.x | bash - - when: internet_available and is_debuntu and not ubuntu-18 + when: internet_available and is_debuntu and not is_ubuntu_18 - name: Install latest Node.js which includes /usr/bin/npm (debuntu) package: @@ -29,7 +29,7 @@ state: latest # package: name=nodejs=6.* # state=present - when: internet_available and is_debuntu and not ubuntu-18 + when: internet_available and is_debuntu and not is_ubuntu_18 - name: Install npm (OS's other than debuntu) package: