Skip to content

Instantly share code, notes, and snippets.

@wolfeidau
Created December 16, 2013 23:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wolfeidau/7997334 to your computer and use it in GitHub Desktop.
Save wolfeidau/7997334 to your computer and use it in GitHub Desktop.
NodeJS ansible task roles/nodejs/tasks/main.yml
- 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