Skip to content

ElaoInfra/ansible-role-npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: npm

It's part of the ELAO Ansible stack but can be used as a stand alone component.

Requirements

  • Ansible 1.7.2+

Dependencies

None.

Installation

Ansible 2+

Using ansible galaxy cli:

ansible-galaxy install elao.npm,2.0

Using ansible galaxy requirements file:

- src:     elao.npm
  version: 2.0

Ansible 1 (no longer maintained)

Using ansible galaxy cli:

ansible-galaxy install elao.npm,1.0

Using ansible galaxy requirements file:

- src:     elao.npm
  version: 1.0

Role Variables

Name Default Type Description
elao_npm_packages [ ] Array Npm packages list

Configuration example

elao_npm_packages:
  - name:     gulp
    version:  3
    global:   true
  - name:     coffee-script
    path:     /app/path
    version:  1.6.1

Package configuration directives : http://docs.ansible.com/npm_module.html

Example playbook

- hosts: servers
  roles:
     - { role: elao.npm }

Licence

MIT

Author information

ELAO (http://www.elao.com/)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published