An Ansible role to install nodenv.
- Add
nodenv
to your$PATH
after install.
echo 'export PATH="$HOME/.nodenv/bin:$PATH"' >> ~/.bash_profile
- Run the following:
~/.nodenv/bin/nodenv init
-
nodenv_install_path
- The path to installnodenv
. -
nodenv_git_url
- The git URL to clonenodenv
from. -
nodenv_git_update
- If the clonednodenv
git repository should be updated. -
node_build_git_url
- The path to thenode-build
plugin fornodenv
. -
node_build_git_update
- If the clonednode-build
git repository should be updated.
No dependencies.
- hosts: servers
roles:
- { role: bluk.nodenv }
Apache 2.0