nodenv

ansible-role-nodenv

GitHub license Build Status

An Ansible role to install nodenv.

Requirements

  1. Add nodenv to your $PATH after install.
echo 'export PATH="$HOME/.nodenv/bin:$PATH"' >> ~/.bash_profile
  1. Run the following:
~/.nodenv/bin/nodenv init

Role Variables

  • nodenv_install_path - The path to install nodenv.

  • nodenv_git_url - The git URL to clone nodenv from.

  • nodenv_git_update - If the cloned nodenv git repository should be updated.

  • node_build_git_url - The path to the node-build plugin for nodenv.

  • node_build_git_update - If the cloned node-build git repository should be updated.

Dependencies

No dependencies.

Example Playbook

- hosts: servers
  roles:
     - { role: bluk.nodenv }

License

Apache 2.0

Install
ansible-galaxy install bluk/ansible-role-nodenv
GitHub repository
License
apache-2.0
Downloads
33
Owner