Commit cfee3e4c by Feanil Patel

Explicitly set the npm registry.

parent 32f264ff
...@@ -474,3 +474,6 @@ edxapp_cms_variant: cms ...@@ -474,3 +474,6 @@ edxapp_cms_variant: cms
# Worker Settings # Worker Settings
worker_django_settings_module: 'aws' worker_django_settings_module: 'aws'
# NPM rc file
edxapp_npmrc: "/usr/share/npm/npmrc"
...@@ -90,6 +90,13 @@ ...@@ -90,6 +90,13 @@
- "edxapp | restart edxapp_workers" - "edxapp | restart edxapp_workers"
tags: deploy tags: deploy
# Set the npm registry
- name: edxapp | Set the npm registry
lineinfile:
dest="{{ edxapp_npmrc }}"
regexp="registry = \"http://registry.npmjs.org/\""
line="registry = \"http://registry.npmjs.org/\""
# Node play that need to be run after platform updates. # Node play that need to be run after platform updates.
- name: edxapp | Install edx-platform npm dependencies - name: edxapp | Install edx-platform npm dependencies
shell: npm install chdir={{ edxapp_code_dir }} shell: npm install chdir={{ edxapp_code_dir }}
......
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