Ansible role for installing nodejs, from package or by building it from source.
- Tested on Ansible 1.4 or higher.
- Depends on ANXS.build-essential when using install_method of "source"
nodejs_version: "0.10.26" # nodejs version to install.
nodejs_install_method: "source" # "package" or "source" or "binary"
For "unstable" node versions (0.11), you may wish to use "binary" if you don't want to compile from source:
nodejs_version: "0.11.13" # nodejs version to install.
nodejs_install_method: "binary" # "source" or "binary" (package is not available for 0.11)
This project comes with a VagrantFile, this is a fast and easy way to test changes to the role, fire it up with vagrant up
See vagrant docs for getting setup with vagrant
Licensed under the MIT License. See the LICENSE file for details.
Are welcome!