It's part of the ELAO Ansible stack but can be used as a stand alone component.
- Ansible 1.7.2+
None.
Using ansible galaxy cli:
ansible-galaxy install elao.npm,2.0
Using ansible galaxy requirements file:
- src: elao.npm
version: 2.0
Using ansible galaxy cli:
ansible-galaxy install elao.npm,1.0
Using ansible galaxy requirements file:
- src: elao.npm
version: 1.0
Name | Default | Type | Description |
---|---|---|---|
elao_npm_packages |
[ ] | Array | Npm packages list |
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
- hosts: servers
roles:
- { role: elao.npm }
MIT