title: Ansible install npm package name from source binary (.tgz)
body: <p>I need to install npm using ansible. I am Referring to Ansible 2.3 : <a href="http://docs.ansible.com/ansible/npm_module.html" rel="nofollow noreferrer">http://docs.ansible.com/ansible/npm_module.html</a></p>
  
  <p>I have packed npm module using <code>npm pack coffee-script</code> and have <code>coffee-script.tgz</code>. now I want to install it using npm by using that file. </p>
  
  <p>The closest thing I can find is : </p>
  
  <pre><code>- name: Install "coffee-script" node.js package from custom registry.
    npm:
      name: coffee-script
      registry: 'http://registry.mysite.com'
  </code></pre>
  
  <p>But how to install from local file because my server doesn't have internet connection, hence I need to pack and install from the binary file. </p>
  
  <p>I want to do something like this </p>
  
  <pre><code>- name: Install "coffee-script" node.js package from custom registry.
        npm:
          name: coffee-script
          global : yes
          source: '/usr/local/coffee-script.tgz'
  </code></pre>