Created
December 16, 2013 23:51
-
-
Save wolfeidau/7997334 to your computer and use it in GitHub Desktop.
NodeJS ansible task roles/nodejs/tasks/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Install PPA for latest nodejs version | |
apt_repository: repo=ppa:chris-lea/node.js state=present | |
tags: install_nodejs_ppa | |
- name: Install Nodejs package | |
apt: pkg=nodejs state=latest update_cache=yes | |
tags: install_nodejs | |
- name: Install global tools | |
command: npm install {{ item }} -g | |
with_items: | |
- grunt-cli | |
- bower |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment