ansible-nvm's People
Forkers
ahmednuaman barbuza paulchubatyy kevinws steffenmllr kanagi initt martypitt dondonyaru ukch wtower leesio luisdalves nitive edmondlafay felixroeser scandela bijoythomas onepercentclub scrive jaawerth stephdewit kelevro apast graysonchen yileye wangha81 waysact isikyusansible-nvm's Issues
sudo/sudo_user deprecation warning
I get the following warning with Ansible > 2.0
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and
make sure become_method is 'sudo' (default). This feature will be removed in a
future release. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
Where could I find the npm path
I found after installed the nvm on ansible, still could not locate the npm bin path ?
tasks:
- name: Install puppeteer and skip the chrome download
npm:
executable: /opt/nvm/v0.10.1/bin/npm
name: puppeteer
ignore_scripts: yes
global: yes
state: present
tags: ['npm_package_management']
And I always got the error
"msg": "[Errno 2] No such file or directory"
Any one knows which location the npm executable has ?
Reload shell
If the ansible playbook is applied as the user for which nvm should be installed,
it would be nice to reload the shell so the nvm/node command become available immediately.
nvm version
The latest nvm version is 0.7.0. Would you consider update the default nvm version in the playbook?
Doesn't work with shell=/bin/false
The install user appears to need to have a shell set, which is not ideal. It would be good if this role could work with shell disabled, too.
Undocumented node_version_minor variable is missing?
Version:
intalled_version: v1.0.0
I get this:
fatal: [duma] => One or more undefined variables: 'dict object' has no attribute 'node_version_minor'
I have to use this configuration to have it working:
nvm: { version: v0.17.3, node_version: v0.10, node_version_minor: v0.10.33 }
No mention of this in the README.md?
install nvm not idempotent?
Each time I re-apply the playbook (after its successful aplication),
the install nvm task still runs each time - and takes a considerable amount of time to finish:
[...]
TASK [leonidas.nvm : Install nvm]
[...]
Is this task not idempotent? Or should it check nvm version before downloading things?
Doesn't work with non-bash shells
Eg. with 'ash' (a more sh-like shell than bash) you get the error:
-sh: 23: source: not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.