Unverified Commit ade77eb4 by Joseph Mulloy Committed by GitHub

Merge pull request #4578 from edx/jdmulloy/ops3134/fix_insights_npm

Switch from ansible npm module to raw npm OPS-3134
parents e928c4b8 e6dafeff
......@@ -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