Skip to content

Commit

Permalink
Merge pull request #9 from Oefenweb/add-support-for-version-7
Browse files Browse the repository at this point in the history
Add support for version 7
  • Loading branch information
tersmitten authored Nov 30, 2016
2 parents 9645fc1 + fa98f34 commit 5626192
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Set up the latest version of nodejs and npm in Debian-like systems.

#### Variables

* `nodejs_version` [default: `nodejs-v4x`]: Version to install (e.g. `nodejs-v6x`, `nodejs-v5x`, `nodejs-v012`, `nodejs-v010`, `iojs-v3x`, `iojs-v2x`, `iojs-v1x`)
* `nodejs_version` [default: `nodejs-v6x`]: Version to install (e.g. `nodejs-v7x`, `nodejs-v6x`, `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)
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# defaults file for nodejs
---
nodejs_version: 'nodejs-v4x'
nodejs_version: 'nodejs-v6x'

nodejs_install:
# To compile and install native addons from npm you may also need to install build tools
Expand Down
1 change: 1 addition & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# vars file for nodejs
---
nodejs_version_map:
nodejs-v7x: '7.x'
nodejs-v6x: '6.x'
nodejs-v5x: '5.x'
nodejs-v4x: '4.x'
Expand Down

0 comments on commit 5626192

Please sign in to comment.