public-health-ch/ansible/roles/geerlingguy.nodejs/molecule/default/converge.yml

23 lines
457 B
YAML
Raw Normal View History

2018-12-17 12:50:15 +00:00
---
2020-05-15 20:41:39 +00:00
- name: Converge
hosts: all
become: true
2018-12-17 12:50:15 +00:00
vars:
nodejs_install_npm_user: root
npm_config_prefix: /root/.npm-global
npm_config_unsafe_perm: "true"
nodejs_npm_global_packages:
- node-sass
- name: jslint
version: 0.12.0
- name: yo
pre_tasks:
- name: Update apt cache.
2020-05-15 20:41:39 +00:00
apt: update_cache=true cache_valid_time=600
2018-12-17 12:50:15 +00:00
when: ansible_os_family == 'Debian'
roles:
2020-05-15 20:41:39 +00:00
- role: geerlingguy.nodejs