moviedo / ansible-role-nvm Goto Github PK
View Code? Open in Web Editor NEWAnsible role for using NVM, Node Version Manager, locally.
License: MIT License
Ansible role for using NVM, Node Version Manager, locally.
License: MIT License
Refer to the docs for implementing auto import, to Ansible Galaxy, after Travis CI tests have passed.
If the package already exists but with another version then the one we specified it won't be installed (only checked for existing binary but not for version)
Options:
@moviedo What do you think?
TASK [moviedo.nvm : NVM | pkgs | install npm module(s)] *****************************************************************************************************************************************************
[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ nvm_npm_pkgs | length }} > 0
Right now, this role only updates the .bashrc
It would be great to support other shells.
This could be done in a couple of ways. One way would be to support a set of known shells.
Another way would be some kind of hook that allows generic .*rc
files... harder, but more flexible.
Since you used vN.N.N until now, and the latest 1.4.1 is in the same syntax, the CLI can't determine which version is the latest, I guess you'll need to remove 1.4.1 and re-release as v1.4.1.
Would it be possible to add support for RHEL and Amazon Linux?
For example the role fails because Amazon Linux cannot use apt-get
but requires yum
.
And package libssl-dev
is not available but the package openssl-devel
is available.
Hello,
First, thanks for your repository, which is very useful !
I have an issue when using it on my work laptop, where my user (A
) does not have a A
group but a domain users
since I connect via an LDAP. This cause the role to fail because it can't find the associated group.
Is it possible to add a nvm_group
which if not indicated, will fallback on nvm_user
value ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.