Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 1.28 KB

README.md

File metadata and controls

64 lines (45 loc) · 1.28 KB

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