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
b16bdd4c
Commit
b16bdd4c
authored
Nov 18, 2016
by
Jesse Shapiro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create stateless playbook
parent
7b48b008
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
1 deletions
+84
-1
playbooks/edx-stateless.yml
+83
-0
playbooks/roles/edxapp/defaults/main.yml
+1
-1
No files found.
playbooks/edx-stateless.yml
0 → 100644
View file @
b16bdd4c
---
# Stateless app server configuration, designed to be used with external mysql,
# mongo, rabbitmq, and elasticsearch services.
-
name
:
Configure instance(s)
hosts
:
all
become
:
True
gather_facts
:
True
vars
:
migrate_db
:
'
yes'
openid_workaround
:
True
EDXAPP_LMS_NGINX_PORT
:
'
80'
ENABLE_ECOMMERCE
:
False
# Disable ecommerce by default
roles
:
# Ensure we have no known security vulnerabilities
-
security
# Server setup
-
swapfile
# Nginx reverse proxy
-
role
:
nginx
nginx_sites
:
-
certs
-
cms
-
lms
-
forum
-
xqueue
nginx_default_sites
:
-
lms
# Main EdX application
# https://github.com/edx/edx-platform
-
role
:
edxapp
celery_worker
:
True
-
edxapp
# Discussion forums
# https://github.com/edx/cs_comments_service
-
forum
# Notifications service
# https://github.com/edx/notifier
-
role
:
notifier
NOTIFIER_DIGEST_TASK_INTERVAL
:
'
5'
# XQueue interface for communicating with external grader services
# https://github.com/edx/xqueue
-
role
:
xqueue
update_users
:
True
# Certificate generation
# https://github.com/edx/edx-certificates
-
certs
# Email sending
-
postfix_queue
# Ecommerce (optional)
# https://github.com/edx/ecommerce
-
role
:
nginx
nginx_sites
:
-
ecommerce
when
:
ENABLE_ECOMMERCE
-
role
:
ecommerce
when
:
ENABLE_ECOMMERCE
-
role
:
ecomworker
when
:
ENABLE_ECOMMERCE
# memcached
-
role
:
memcache
when
:
"
'localhost'
in
'
'.join(EDXAPP_MEMCACHE)"
# Optional extras
-
role
:
datadog
when
:
COMMON_ENABLE_DATADOG
-
role
:
splunkforwarder
when
:
COMMON_ENABLE_SPLUNKFORWARDER
-
role
:
newrelic
when
:
COMMON_ENABLE_NEWRELIC
playbooks/roles/edxapp/defaults/main.yml
View file @
b16bdd4c
...
...
@@ -955,6 +955,7 @@ generic_env_config: &edxapp_generic_env
limits
:
"
{{
EDXAPP_CODE_JAIL_LIMITS
}}"
user
:
'
{{
edxapp_sandbox_user
}}'
AFFILIATE_COOKIE_NAME
:
"
{{
EDXAPP_AFFILIATE_COOKIE_NAME
}}"
ELASTIC_SEARCH_CONFIG
:
"
{{
EDXAPP_ELASTIC_SEARCH_CONFIG
}}"
lms_auth_config
:
<<
:
*edxapp_generic_auth
...
...
@@ -1017,7 +1018,6 @@ lms_env_config:
LTI_AGGREGATE_SCORE_PASSBACK_DELAY
:
"
{{
EDXAPP_LTI_AGGREGATE_SCORE_PASSBACK_DELAY
}}"
PROCTORING_SETTINGS
:
"
{{
EDXAPP_PROCTORING_SETTINGS
}}"
CREDIT_HELP_LINK_URL
:
"
{{
EDXAPP_CREDIT_HELP_LINK_URL
}}"
ELASTIC_SEARCH_CONFIG
:
"
{{
EDXAPP_ELASTIC_SEARCH_CONFIG
}}"
MAILCHIMP_NEW_USER_LIST_ID
:
"
{{
EDXAPP_MAILCHIMP_NEW_USER_LIST_ID
}}"
CONTACT_MAILING_ADDRESS
:
"
{{
EDXAPP_CONTACT_MAILING_ADDRESS
}}"
AUDIT_CERT_CUTOFF_DATE
:
"
{{
EDXAPP_AUDIT_CERT_CUTOFF_DATE
}}"
...
...
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