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
edx
configuration
Commits
bd19b732
Commit
bd19b732
authored
Jan 30, 2017
by
Brian Jacobel
Committed by
George Song
Feb 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pin Node version to 6.9.4 for Ecom, Insights, Discovery and Credentials
parent
a767e7c4
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
20 deletions
+13
-20
playbooks/roles/credentials/defaults/main.yml
+2
-1
playbooks/roles/credentials/tasks/main.yml
+1
-3
playbooks/roles/discovery/tasks/main.yml
+1
-3
playbooks/roles/ecommerce/defaults/main.yml
+1
-0
playbooks/roles/ecommerce/tasks/main.yml
+1
-3
playbooks/roles/edxapp/tasks/deploy.yml
+3
-5
playbooks/roles/insights/defaults/main.yml
+3
-2
playbooks/roles/insights/tasks/main.yml
+1
-3
No files found.
playbooks/roles/credentials/defaults/main.yml
View file @
bd19b732
...
...
@@ -9,7 +9,7 @@
#
##
# Defaults for role credentials
#
#
CREDENTIALS_GIT_IDENTITY
:
!!null
# depends upon Newrelic being enabled via COMMON_ENABLE_NEWRELIC
...
...
@@ -219,6 +219,7 @@ credentials_nodeenv_dir: "{{ credentials_home }}/nodeenvs/{{ credentials_service
credentials_nodeenv_bin
:
"
{{
credentials_nodeenv_dir
}}/bin"
credentials_node_modules_dir
:
"
{{
credentials_code_dir
}}/node_modules"
credentials_node_bin
:
"
{{
credentials_node_modules_dir
}}/.bin"
credentials_node_version
:
"
6.9.4"
credentials_environment
:
DJANGO_SETTINGS_MODULE
:
"
{{
CREDENTIALS_DJANGO_SETTINGS_MODULE
}}"
...
...
playbooks/roles/credentials/tasks/main.yml
View file @
bd19b732
...
...
@@ -43,9 +43,7 @@
-
install:app-requirements
-
name
:
create nodeenv
shell
:
"
{{
credentials_venv_dir
}}/bin/nodeenv
{{
credentials_nodeenv_dir
}}
--prebuilt"
args
:
creates
:
"
{{
credentials_nodeenv_dir
}}"
shell
:
"
{{
credentials_venv_dir
}}/bin/nodeenv
{{
credentials_nodeenv_dir
}}
--node={{
credentials_node_version
}}
--prebuilt
--force"
become_user
:
"
{{
credentials_user
}}"
tags
:
-
install
...
...
playbooks/roles/discovery/tasks/main.yml
View file @
bd19b732
...
...
@@ -77,9 +77,7 @@
-
devstack:install
-
name
:
create nodeenv
shell
:
"
{{
discovery_venv_dir
}}/bin/nodeenv
{{
discovery_nodeenv_dir
}}
--node={{
discovery_node_version
}}
--prebuilt"
args
:
creates
:
"
{{
discovery_nodeenv_dir
}}"
shell
:
"
{{
discovery_venv_dir
}}/bin/nodeenv
{{
discovery_nodeenv_dir
}}
--node={{
discovery_node_version
}}
--prebuilt
--force"
become_user
:
"
{{
discovery_user
}}"
tags
:
-
install
...
...
playbooks/roles/ecommerce/defaults/main.yml
View file @
bd19b732
...
...
@@ -214,6 +214,7 @@ ecommerce_nodeenv_dir: "{{ ecommerce_home }}/nodeenvs/{{ ecommerce_service_name
ecommerce_nodeenv_bin
:
"
{{
ecommerce_nodeenv_dir
}}/bin"
ecommerce_node_modules_dir
:
"
{{
ecommerce_code_dir
}}/node_modules"
ecommerce_node_bin
:
"
{{
ecommerce_node_modules_dir
}}/.bin"
ecommerce_node_version
:
"
6.9.4"
ecommerce_gunicorn_host
:
"
127.0.0.1"
ecommerce_gunicorn_port
:
"
8130"
...
...
playbooks/roles/ecommerce/tasks/main.yml
View file @
bd19b732
...
...
@@ -41,9 +41,7 @@
-
install:app-requirements
-
name
:
Create nodeenv
shell
:
"
{{
ecommerce_venv_dir
}}/bin/nodeenv
{{
ecommerce_nodeenv_dir
}}
--prebuilt"
args
:
creates
:
"
{{
ecommerce_nodeenv_dir
}}"
shell
:
"
{{
ecommerce_venv_dir
}}/bin/nodeenv
{{
ecommerce_nodeenv_dir
}}
--node={{
ecommerce_node_version
}}
--prebuilt
--force"
become_user
:
"
{{
ecommerce_user
}}"
tags
:
-
install
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
bd19b732
---
-
name
:
create edxapp configuration dir
file
:
path
:
"
{{
EDXAPP_CFG_DIR
}}"
path
:
"
{{
EDXAPP_CFG_DIR
}}"
state
:
directory
owner
:
"
{{
edxapp_user
}}"
group
:
"
{{
common_web_group
}}"
...
...
@@ -13,7 +13,7 @@
template
:
src
:
"
{{
item.src
}}"
dest
:
"
{{
item.dest
}}"
owner
:
"
{{
item.owner
}}"
owner
:
"
{{
item.owner
}}"
group
:
"
{{
item.group
}}"
mode
:
"
{{
item.mode
}}"
with_items
:
...
...
@@ -211,9 +211,7 @@
-
install:app-requirements
-
name
:
create nodeenv
shell
:
"
{{
edxapp_venv_dir
}}/bin/nodeenv
{{
edxapp_nodeenv_dir
}}
--node={{
edxapp_node_version
}}
--prebuilt"
args
:
creates
:
"
{{
edxapp_nodeenv_dir
}}"
shell
:
"
{{
edxapp_venv_dir
}}/bin/nodeenv
{{
edxapp_nodeenv_dir
}}
--node={{
edxapp_node_version
}}
--prebuilt
--force"
tags
:
-
install
-
install:app-requirements
...
...
playbooks/roles/insights/defaults/main.yml
View file @
bd19b732
...
...
@@ -9,7 +9,7 @@
#
#
# Defaults for role insights
#
#
INSIGHTS_LMS_BASE
:
'
http://127.0.0.1:8000'
INSIGHTS_CMS_BASE
:
'
http://127.0.0.1:8010'
...
...
@@ -169,7 +169,7 @@ insights_environment:
ANALYTICS_DASHBOARD_CFG
:
"
{{
COMMON_CFG_DIR
}}/{{
insights_service_name
}}.yml"
PATH
:
"
{{
insights_nodeenv_bin
}}:{{
insights_venv_dir
}}/bin:{{
ansible_env.PATH
}}"
insights_service_name
:
insights
insights_venv_dir
:
"
{{
insights_home
}}/venvs/{{
insights_service_name
}}"
insights_user
:
"
{{
insights_service_name
}}"
...
...
@@ -185,6 +185,7 @@ insights_nodeenv_dir: "{{ insights_home }}/nodeenvs/{{ insights_service_name }}"
insights_nodeenv_bin
:
"
{{
insights_nodeenv_dir
}}/bin"
insights_node_modules_dir
:
"
{{
insights_code_dir
}}/node_modules"
insights_node_bin
:
"
{{
insights_node_modules_dir
}}/.bin"
insights_node_version
:
"
6.9.4"
insights_gunicorn_host
:
"
127.0.0.1"
insights_gunicorn_port
:
"
8110"
...
...
playbooks/roles/insights/tasks/main.yml
View file @
bd19b732
...
...
@@ -45,9 +45,7 @@
-
install:app-requirements
-
name
:
create nodeenv
shell
:
"
{{
insights_venv_dir
}}/bin/nodeenv
{{
insights_nodeenv_dir
}}
--prebuilt"
args
:
creates
:
"
{{
insights_nodeenv_dir
}}"
shell
:
"
{{
insights_venv_dir
}}/bin/nodeenv
{{
insights_nodeenv_dir
}}
--node={{
insights_node_version
}}
--prebuilt
--force"
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