Commit e6dafeff by Joseph Mulloy

Switch from ansible npm module to raw npm OPS-3134

Ansible npm module doesn't properly respect package-lock.json in Node 8
See PR #4292
parent 92694dbd
......@@ -51,12 +51,11 @@
- install
- install:system-requirements
# install with the shell command instead of the ansible npm module so we don't accidentally re-write package.json
- name: install node dependencies
npm:
executable: "{{ insights_nodeenv_bin }}/npm"
path: "{{ insights_code_dir }}"
production: yes
state: latest
shell: "{{ insights_nodeenv_bin }}/npm install"
args:
chdir: "{{ insights_code_dir }}"
become_user: "{{ insights_user }}"
environment: "{{ insights_environment }}"
tags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment