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
e12bde8d
Commit
e12bde8d
authored
Nov 30, 2015
by
Max Rothman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address comments
parent
d77a7ebc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
15 deletions
+12
-15
playbooks/roles/edxapp/defaults/main.yml
+7
-4
playbooks/roles/edxapp/tasks/deploy.yml
+5
-11
playbooks/roles/edxapp/tasks/main.yml
+0
-0
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
e12bde8d
...
...
@@ -78,8 +78,11 @@ EDXAPP_ELASTIC_SEARCH_CONFIG:
-
host
:
"
localhost"
port
:
9200
EDXAPP_LMS_ENV_FILE
:
'
lms.envs.aws'
EDXAPP_CMS_ENV_FILE
:
'
cms.envs.aws'
EDXAPP_LMS_ENV
:
'
lms.envs.aws'
EDXAPP_CMS_ENV
:
'
cms.envs.aws'
EDXAPP_LMS_ENV_FILE
:
"
lms_env"
EDXAPP_CMS_ENV_FILE
:
"
cms_env"
EDXAPP_EMAIL_BACKEND
:
'
django.core.mail.backends.smtp.EmailBackend'
EDXAPP_EMAIL_HOST
:
'
localhost'
...
...
@@ -644,14 +647,14 @@ edxapp_lms_environment:
<<
:
*edxapp_common_environment
PORT
:
"
{{
edxapp_lms_gunicorn_port
}}"
ADDRESS
:
"
{{
edxapp_lms_gunicorn_host
}}"
DJANGO_SETTINGS_MODULE
:
"
{{
EDXAPP_LMS_ENV
_FILE
}}"
DJANGO_SETTINGS_MODULE
:
"
{{
EDXAPP_LMS_ENV
}}"
SERVICE_VARIANT
:
lms
edxapp_cms_environment
:
<<
:
*edxapp_common_environment
PORT
:
"
{{
edxapp_cms_gunicorn_port
}}"
ADDRESS
:
"
{{
edxapp_cms_gunicorn_host
}}"
DJANGO_SETTINGS_MODULE
:
"
{{
EDXAPP_CMS_ENV
_FILE
}}"
DJANGO_SETTINGS_MODULE
:
"
{{
EDXAPP_CMS_ENV
}}"
SERVICE_VARIANT
:
cms
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
e12bde8d
-
name
:
setup the
lms env
-
name
:
setup the
env files
template
:
>
src=lms_env.j2 dest={{ edxapp_app_dir }}/{{ EDXAPP_LMS_ENV_FILE }}
owner={{ edxapp_user }} group={{ common_web_user }}
mode=0644
tags
:
-
install
-
install:configuration
-
name
:
setup the cms env
template
:
>
src=cms_env.j2 dest={{ edxapp_app_dir }}/{{ EDXAPP_CMS_ENV_FILE }}
src={{ item.template }} dest={{ edxapp_app_dir }}/{{ item.file }}
owner={{ edxapp_user }} group={{ common_web_user }}
mode=0644
with_items
:
-
{
template
:
lms_env.j2
,
file
:
"
{{
EDXAPP_LMS_ENV_FILE
}}"
}
-
{
template
:
cms_env.j2
,
file
:
"
{{
EDXAPP_CMS_ENV_FILE
}}"
}
tags
:
-
install
-
install:configuration
...
...
playbooks/roles/edxapp/tasks/main.yml
View file @
e12bde8d
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