This Ansible role installs NodeJS through the official repository packages.
- EL / Centos (6 / 7)
- Debian (Wheezy / Jessie)
- Ubuntu (Trusty)
- AMZ Linux
The following role variables are defined in defaults/main.yml
. For a
detailed explanation about them you can take a look at the file.
nodejs_version: 4.2
nodejs_npm_version: 2.14.7
---
- hosts: all
vars:
- nodejs_version: 4.2
roles:
- { role: torian.nodejs }