0x4e3.osx-bootstrap-npm
osx-bootstrap-npm
The role to install some global node.js packages with npm.
Requirements
You should have homebrew installed.
Role Variables
node_brew_package-- the name of homebrew packaage with node.js and npm,node@8is the default value.npm_global_packages-- the list of packages you want to install, default value is an empty list.
Dependencies
No.
Example Playbook
playbook.yml:
---
- host: localhost
vars_files:
- vars/npm.yml
roles:
- 0x4e3.osx-bootstrap-npm
vars/npm.yml
---
npm_global_packages:
- name: gulp
version: 3.9.1
- name: ember-cli
version: 2.11.1
- name: react-native-cli
version: 2.0.1
- name: phantomjs
version: 2.1.7
Install
ansible-galaxy install 0x4e3.osx-bootstrap-npmLicense
mit
Downloads
141
Owner
