Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leonelgalan/ansible-node
Installs nodejs and the **latest** npm.
https://github.com/leonelgalan/ansible-node
Last synced: 6 days ago
JSON representation
Installs nodejs and the **latest** npm.
- Host: GitHub
- URL: https://github.com/leonelgalan/ansible-node
- Owner: leonelgalan
- License: mit
- Created: 2015-01-25T19:43:02.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-29T18:53:42.000Z (almost 10 years ago)
- Last Synced: 2024-10-10T14:05:20.330Z (27 days ago)
- Homepage: https://galaxy.ansible.com/list#/roles/2701
- Size: 160 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# leonelgalan.node [![Build Status](https://travis-ci.org/leonelgalan/ansible-node.svg)](https://travis-ci.org/leonelgalan/ansible-node)
Installs **latest** nodejs, the **latest** npm, and desired packages. At the time of writing (January 26, 2015):
* Node.js v0.10.36
* npm 2.3.0# Role Variables
Default variables are:
```yml
---
npm_packages: []
```## Dependencies
* nodesource.node
```shell
ansible-galaxy install --role-file=requirements.yml --force
```## Example Playbook
```yml
- hosts: allroles:
- role: leonelgalan.node
npm_packages:
- name: gulp
- name: bower
version: 1.3.12
- path: ../local/package
```## Vagrant
```shell
vagrant up
```## License
_leonelgalan.node_ is released under the [MIT License](http://opensource.org/licenses/MIT ).
## Author Information
Leonel Galán ()