NPM - Node.JS Package Management

Document Control

TODO:

  • Overall structure.
  • Initial draft complete
  • Testing
  • Ready

Ansible Role Ansible Quality Score Build Status GitHub issues GitHub last commit

User Story: Npm

As a: UNIX and Linux system administrator

I want to: install node.js packages and modules as a system or regular user

So that: I an run javascript/node applications.

NPM

Using the role

Using the role in a playbook
---
- name: Install npm
  hosts: all

  tasks:
    - name: npm is configured
      import_role:
        name: crivetimihai.npm
      vars:
        npm_enable_service: true
      tags: npm
# Install the role
ansible-galaxy install crivetimihai.npm

# Run the playbook
ansible-playbook npm-playbook.yml

Last update: 2020-02-03