Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
d545ea51
Commit
d545ea51
authored
Jan 31, 2017
by
George Song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure npm install always happens
parent
747d93bb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
2 deletions
+12
-2
playbooks/roles/discovery/tasks/main.yml
+5
-1
playbooks/roles/ecommerce/tasks/main.yml
+1
-0
playbooks/roles/edxapp/tasks/deploy.yml
+1
-0
playbooks/roles/insights/tasks/main.yml
+5
-1
No files found.
playbooks/roles/discovery/tasks/main.yml
View file @
d545ea51
...
...
@@ -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
:
...
...
playbooks/roles/ecommerce/tasks/main.yml
View file @
d545ea51
...
...
@@ -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
:
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
d545ea51
...
...
@@ -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
:
...
...
playbooks/roles/insights/tasks/main.yml
View file @
d545ea51
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment