npm
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
Install
ansible-galaxy install ElaoInfra/ansible-role-npm
License
Unknown
Downloads
751
Owner
All of those roles aren't maintained anymore and we strongly encourage you to switch to our new (maintained and tested) Ansible stack: https://github.com/manala