-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node.js version check doesn't work #18
Comments
One for Fred |
I thought this was intentional - the idea being that if the check fails then node is fetched and installed? |
The task literally fails - meaning crash not non-zero result code. There's something non-robust in the check syntax, it needs playing around with on the command-line |
It looks like tasks are reported as failed whenever the result code is non-zero - for example, shell: /bin/false So I've added a |
Nice, thanks Fred... |
TASK: [nodejs | Node.js | Checking installed version of node.js] **************
failed: [127.0.0.1] => {"changed": true, "cmd": "/usr/bin/test "$(node -v 2> /dev/null)" = v0.10.25 ", "delta": "0:00:00.003899", "end": "2014-03-17 11:08:12.214885", "item": "", "rc": 1, "start": "2014-03-17 11:08:12.210986"}
...ignoring
The text was updated successfully, but these errors were encountered: