Skip to content
Snippets Groups Projects
Commit 1e7513f6 authored by nimrod's avatar nimrod
Browse files

- Update npm before installing node packages.

parent 3272180f
No related branches found
No related tags found
No related merge requests found
......@@ -232,6 +232,15 @@
state: present
include_dependencies: yes
- name: Update npm
become: yes
become_user: root
npm:
global: yes
name: npm
state: present
version: '>=5'
- name: npm install
with_items: '{{ npm }}'
when: npm is iterable
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment