some tech and other talks

ruby, rails, book reviews, etc

Mar 20, 2016 - 1 minute read

install npm package from npm pack-ed file using ansible

In case you want to install npm package file, created by “npm pack” command, just specify the path to the file to “name”.

description: Install "sample" node.js package, created by "npm pack", located at /tmp/sample.tar.gz
- npm: name=/tmp/sample.tar.gz path=/app/location

That’s it.