An Ansible role for a Vagrant-based NodeJS development setup.
Available on Ansible Galaxy at naftulikay.vagrant-node-dev
.
A Vagrant machine running a supported operating system.
node_version
- The version of NodeJS to install.
vagrant_user
- The username of the Vagrant user, defaults to
vagrant
Please see the upstream
naftulikay.vagrant-base
andnaftulikay.node-dev
roles for additional supported variables.
naftulikay.vagrant-base
: Provides base Vagrant configuration.naftulikay.node-dev
: Provides a basic NodeJS development environment.
Install a NodeJS development environment within the Vagrant machine:
---
- hosts: all
roles:
- role: vagrant-node-dev
node_version: 6.11.2
MIT.