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 @@ ...@@ -51,12 +51,11 @@
- install - install
- install:system-requirements - 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 - name: install node dependencies
npm: shell: "{{ insights_nodeenv_bin }}/npm install"
executable: "{{ insights_nodeenv_bin }}/npm" args:
path: "{{ insights_code_dir }}" chdir: "{{ insights_code_dir }}"
production: yes
state: latest
become_user: "{{ insights_user }}" become_user: "{{ insights_user }}"
environment: "{{ insights_environment }}" environment: "{{ insights_environment }}"
tags: 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