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 @@ ...@@ -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