From 02f078b3f09a0fa32553408e31bc09433fffe645 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Fri, 30 Oct 2015 09:29:48 +0100 Subject: [PATCH] Added support for Node.js v5.x --- README.md | 2 +- vars/main.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1254dcc..2b2a835 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Set up the latest version of nodejs and npm in Ubuntu systems. #### Variables -* `nodejs_version` [default: `nodejs-v4x`]: Version to install (e.g. `nodejs-v012`, `nodejs-v010`, `iojs-v3x`, `iojs-v2x`, `iojs-v1x`) +* `nodejs_version` [default: `nodejs-v4x`]: Version to install (e.g. `nodejs-v5x`, `nodejs-v012`, `nodejs-v010`, `iojs-v3x`, `iojs-v2x`, `iojs-v1x`) * `nodejs_install` [default: `[build-essential]`]: Packages to install * `nodejs_npm_packages` [default: `[]`]: Node.js packages to install (globally) diff --git a/vars/main.yml b/vars/main.yml index ffe0384..09866c0 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,6 +1,7 @@ # vars file for nodejs --- nodejs_version_map: + nodejs-v5x: '5.x' nodejs-v4x: '4.x' nodejs-v012: '0.12' nodejs-v010: '0.10'