ansible-rookeries/tasks/nodejs.yaml

18 lines
392 B
YAML
Raw Normal View History

---
- name: install nodejs + npm dependencies
apt: pkg={{ item }} state=present
with_items:
- nodejs
- npm
- git
- name: link nodejs binary correctly
file: src=/usr/bin/nodejs dest=/usr/bin/node state=link
- name: install coffeescript + less dependencies
npm: name={{ item }} global=yes state=present
with_items:
- coffee-script
- less
- bower