---
- name: install globally required tools
npm: name={{ item }} global=yes state=present registry=http://registry.npmjs.org/
with_items: {{ globally_installed_tools }}
when: globally_installed_tools exists