ElaoInfra.npm

Ansible Rolle: npm
Dies ist Teil des ELAO Ansible-Stacks, kann aber auch als eigenständige Komponente verwendet werden.
Anforderungen
- Ansible 1.7.2+
Abhängigkeiten
Keine.
Installation
Ansible 2+
Verwendung des Ansible Galaxy CLI:
ansible-galaxy install elao.npm,2.0
Verwendung der Ansible Galaxy Anforderungsdatei:
- src: elao.npm
version: 2.0
Ansible 1 (nicht mehr gewartet)
Verwendung des Ansible Galaxy CLI:
ansible-galaxy install elao.npm,1.0
Verwendung der Ansible Galaxy Anforderungsdatei:
- src: elao.npm
version: 1.0
Rollenvariablen
Name | Standard | Typ | Beschreibung |
---|---|---|---|
elao_npm_packages |
[ ] | Array | Liste der Npm-Pakete |
Konfigurationsbeispiel
elao_npm_packages:
- name: gulp
version: 3
global: true
- name: coffee-script
path: /app/path
version: 1.6.1
Paketkonfigurationsanweisungen: http://docs.ansible.com/npm_module.html
Beispiel-Playbook
- hosts: servers
roles:
- { role: elao.npm }
Lizenz
MIT
Autorinformationen
Installieren
ansible-galaxy install ElaoInfra.npm
Lizenz
Unknown
Downloads
763
Besitzer
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