Commit d545ea51 by George Song

Make sure npm install always happens

parent 747d93bb
......@@ -84,7 +84,11 @@
- install:app-requirements
- name: install node dependencies
npm: executable={{ discovery_nodeenv_bin }}/npm path={{ discovery_code_dir }} production=yes
npm:
executable: "{{ discovery_nodeenv_bin }}/npm"
path: "{{ discovery_code_dir }}"
production: yes
state: latest
become_user: "{{ discovery_user }}"
environment: "{{ discovery_environment }}"
tags:
......
......@@ -52,6 +52,7 @@
executable: "{{ ecommerce_nodeenv_bin }}/npm"
path: "{{ ecommerce_code_dir }}"
production: yes
state: latest
become_user: "{{ ecommerce_user }}"
environment: "{{ ecommerce_environment }}"
tags:
......
......@@ -243,6 +243,7 @@
executable: "{{ edxapp_nodeenv_bin }}/npm"
path: "{{ edxapp_code_dir }}"
production: yes
state: latest
environment: "{{ edxapp_environment }}"
become_user: "{{ edxapp_user }}"
tags:
......
......@@ -52,7 +52,11 @@
- install:base
- name: install node dependencies
npm: executable={{ insights_nodeenv_bin }}/npm path={{ insights_code_dir }} production=yes
npm:
executable: "{{ insights_nodeenv_bin }}/npm"
path: "{{ insights_code_dir }}"
production: yes
state: latest
become_user: "{{ insights_user }}"
tags:
- install
......
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