Skip to content

An Ansible role for setting up a NodeJS development environment.

License

Notifications You must be signed in to change notification settings

naftulikay/ansible-role-node-dev

Repository files navigation

ansible-role-node-dev Build Status

Installs and configures a node development environment for a given user using nodenv.

Available on Ansible Galaxy at naftulikay.node-dev.

Requirements

Officially tested operating systems are listed in the Galaxy manifest.

Role Variables

node_user
User to install node tools for. Required.
node_version
Version of node to install. Defaults to 6.11.2.

Dependencies

None.

Example Playbook

Here are some example playbooks to get started with.

Defaults

Simply get a node development environment installed:

---
- name: install
  hosts: all
  become: true
  roles:
    - role: node-dev
      node_user: vagrant

Install a Specific Version

Install a specific version of node:

---
  - name: install
    hosts: all
    become: true
    roles:
      - role: node-dev
        node_user: vagrant
        node_version: '6.11.2'

License

MIT

About

An Ansible role for setting up a NodeJS development environment.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published