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
4de117aa
Commit
4de117aa
authored
Nov 04, 2013
by
Xavier Antoviaque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edxapp-extra-vars: Expose extra variables for configuration of the edxapp role
parent
aeeafffb
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
2 deletions
+25
-2
playbooks/roles/edxapp/defaults/main.yml
+19
-1
playbooks/roles/edxapp/templates/cms.auth.json.j2
+1
-1
playbooks/roles/edxapp/templates/cms.env.json.j2
+1
-0
playbooks/roles/edxapp/templates/lms-preview.auth.json.j2
+1
-0
playbooks/roles/edxapp/templates/lms-preview.env.json.j2
+1
-0
playbooks/roles/edxapp/templates/lms.auth.json.j2
+1
-0
playbooks/roles/edxapp/templates/lms.env.json.j2
+1
-0
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
4de117aa
...
...
@@ -57,6 +57,8 @@ EDXAPP_ZENDESK_API_KEY: ''
EDXAPP_CELERY_USER
:
'
celery'
EDXAPP_CELERY_PASSWORD
:
'
celery'
EDXAPP_PLATFORM_NAME
:
'
edX'
EDXAPP_MITX_FEATURES
:
AUTH_USE_OPENID_PROVIDER
:
true
CERTIFICATES_ENABLED
:
true
...
...
@@ -90,6 +92,16 @@ EDXAPP_LMS_BASIC_AUTH: False
EDXAPP_CMS_BASIC_AUTH
:
False
EDXAPP_LMS_PREVIEW_BASIC_AUTH
:
False
EDXAPP_LANG
:
'
en_US.UTF-8'
EDXAPP_TIME_ZONE
:
'
America/New_York'
EDXAPP_TECH_SUPPORT_EMAIL
:
'
'
EDXAPP_CONTACT_EMAIL
:
'
'
EDXAPP_BUGS_EMAIL
:
'
'
EDXAPP_ENV_EXTRA
:
{}
EDXAPP_AUTH_EXTRA
:
{}
EDXAPP_MKTG_URL_LINK_MAP
:
{}
#-------- Everything below this line is internal to the role ------------
...
...
@@ -232,6 +244,7 @@ generic_env_config: &edxapp_generic_env
LMS_BASE
:
$EDXAPP_LMS_BASE
CMS_BASE
:
$EDXAPP_CMS_BASE
BOOK_URL
:
$EDXAPP_BOOK_URL
PLATFORM_NAME
:
$EDXAPP_PLATFORM_NAME
CERT_QUEUE
:
'
certificates'
LOCAL_LOGLEVEL
:
$EDXAPP_LOG_LEVEL
# default email backed set to local SMTP
...
...
@@ -244,7 +257,8 @@ generic_env_config: &edxapp_generic_env
MEDIA_URL
:
$EDXAPP_MEDIA_URL
ANALYTICS_SERVER_URL
:
$EDXAPP_ANALYTICS_SERVER_URL
FEEDBACK_SUBMISSION_EMAIL
:
$EDXAPP_FEEDBACK_SUBMISSION_EMAIL
TIME_ZONE
:
'
America/New_York'
TIME_ZONE
:
$EDXAPP_TIME_ZONE
MKTG_URL_LINK_MAP
:
$EDXAPP_MKTG_URL_LINK_MAP
CACHES
:
default
:
&default_generic_cache
BACKEND
:
'
django.core.cache.backends.memcached.MemcachedCache'
...
...
@@ -270,6 +284,10 @@ generic_env_config: &edxapp_generic_env
SESSION_COOKIE_DOMAIN
:
!!null
COMMENTS_SERVICE_KEY
:
$EDXAPP_COMMENTS_SERVICE_KEY
SEGMENT_IO_LMS
:
true
THEME_NAME
:
$edxapp_theme_name
TECH_SUPPORT_EMAIL
:
$EDXAPP_TECH_SUPPORT_EMAIL
CONTACT_EMAIL
:
$EDXAPP_CONTACT_EMAIL
BUGS_EMAIL
:
$EDXAPP_BUGS_EMAIL
CODE_JAIL
:
limits
:
VMEM
:
0
...
...
playbooks/roles/edxapp/templates/cms.auth.json.j2
View file @
4de117aa
{
# {% do auth_config.update( { < override some hash keys > } ) %} #
}
{
% do cms_auth_config.update(EDXAPP_AUTH_EXTRA) %
}
{{ cms_auth_config | to_nice_json }}
playbooks/roles/edxapp/templates/cms.env.json.j2
View file @
4de117aa
{% do cms_env_config.update(EDXAPP_ENV_EXTRA) %}
{{ cms_env_config | to_nice_json }}
playbooks/roles/edxapp/templates/lms-preview.auth.json.j2
View file @
4de117aa
{% do lms_auth_config.update(EDXAPP_AUTH_EXTRA) %}
{{ lms_preview_auth_config | to_nice_json }}
playbooks/roles/edxapp/templates/lms-preview.env.json.j2
View file @
4de117aa
{% do lms_preview_env_config.update(EDXAPP_ENV_EXTRA) %}
{{ lms_preview_env_config | to_nice_json }}
playbooks/roles/edxapp/templates/lms.auth.json.j2
View file @
4de117aa
{% do lms_auth_config.update(EDXAPP_AUTH_EXTRA) %}
{{ lms_auth_config | to_nice_json }}
playbooks/roles/edxapp/templates/lms.env.json.j2
View file @
4de117aa
{% do lms_env_config.update(EDXAPP_ENV_EXTRA) %}
{{ lms_env_config | to_nice_json }}
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