Code Monkey home page Code Monkey logo

ansible-nvm's People

Contributors

jdrouet avatar rikukissa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.