22 lines
446 B
YAML
22 lines
446 B
YAML
|
---
|
||
|
- hosts: all
|
||
|
|
||
|
vars:
|
||
|
nodejs_version: "5.x"
|
||
|
nodejs_install_npm_user: root
|
||
|
npm_config_prefix: /root/.npm-global
|
||
|
npm_config_unsafe_perm: "true"
|
||
|
nodejs_npm_global_packages:
|
||
|
- name: node-sass
|
||
|
- name: jslint
|
||
|
version: 0.9.6
|
||
|
- name: yo
|
||
|
|
||
|
pre_tasks:
|
||
|
- name: Update apt cache.
|
||
|
apt: update_cache=yes cache_valid_time=600
|
||
|
when: ansible_os_family == 'Debian'
|
||
|
|
||
|
roles:
|
||
|
- role_under_test
|