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
5805aa6b
Commit
5805aa6b
authored
Jan 09, 2014
by
Jason Bau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
further mitx removal
parent
a6b98466
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
playbooks/edx-west/prod-app.yml
+5
-5
playbooks/roles/edxapp/defaults/main.yml
+4
-4
playbooks/roles/edxapp/tasks/deploy.yml
+1
-2
No files found.
playbooks/edx-west/prod-app.yml
View file @
5805aa6b
# this gets all running prod webservers
#- hosts: tag_environment_prod:&tag_function_webserver
# or we can get subsets of them by name
#- hosts: ~tag_Name_app(4|11|21|10|20)_prod
#- hosts: ~tag_Name_app(10|20)_prod
#- hosts: ~tag_Name_app(11|21)_prod
#- hosts: ~tag_Name_app1_prod
-
hosts
:
~tag_Name_app2_prod
## this is the test box
#- hosts: ~tag_Name_app4_prod
-
hosts
:
~tag_Name_app(4|1|2)_prod
#
- hosts: ~tag_Name_app(4|1|2)_prod
## you can also do security group, but don't do that
#- hosts: security_group_edx-prod-EdxappServerSecurityGroup-NSKCQTMZIPQB
sudo
:
True
...
...
@@ -40,8 +39,9 @@
nginx_sites
:
-
lms
-
cms
-
lms-preview
-
verify
nginx_template_directory
:
"
{{local_dir}}/nginx/templates/"
tags
:
nginx
-
edxapp
-
apache
-
shibboleth
...
...
playbooks/roles/edxapp/defaults/main.yml
View file @
5805aa6b
...
...
@@ -59,7 +59,7 @@ EDXAPP_CELERY_PASSWORD: 'celery'
EDXAPP_PLATFORM_NAME
:
'
edX'
EDXAPP_
MITX_
FEATURES
:
EDXAPP_FEATURES
:
AUTH_USE_OPENID_PROVIDER
:
true
CERTIFICATES_ENABLED
:
true
ENABLE_DISCUSSION_SERVICE
:
true
...
...
@@ -242,7 +242,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth
host
:
$EDXAPP_MONGO_HOSTS
password
:
$EDXAPP_MONGO_PASSWORD
port
:
$EDXAPP_MONGO_PORT
render_template
:
'
mit
xmako.shortcuts.render_to_string'
render_template
:
'
ed
xmako.shortcuts.render_to_string'
# Needed for the CMS to be able to run update_templates
user
:
$EDXAPP_MONGO_USER
DOC_STORE_CONFIG
:
*edxapp_generic_default_docstore
...
...
@@ -282,7 +282,7 @@ generic_env_config: &edxapp_generic_env
LOCAL_LOGLEVEL
:
$EDXAPP_LOG_LEVEL
# default email backed set to local SMTP
EMAIL_BACKEND
:
$EDXAPP_EMAIL_BACKEND
MITX_FEATURES
:
$EDXAPP_MITX
_FEATURES
FEATURES
:
$EDXAPP
_FEATURES
WIKI_ENABLED
:
true
SYSLOG_SERVER
:
$EDXAPP_SYSLOG_SERVER
SITE_NAME
:
$EDXAPP_SITE_NAME
...
...
@@ -350,7 +350,7 @@ lms_auth_config:
host
:
$EDXAPP_MONGO_HOSTS
db
:
$EDXAPP_MONGO_DB_NAME
collection
:
'
modulestore'
render_template
:
'
mit
xmako.shortcuts.render_to_string'
render_template
:
'
ed
xmako.shortcuts.render_to_string'
user
:
$EDXAPP_MONGO_USER
password
:
$EDXAPP_MONGO_PASSWORD
port
:
$EDXAPP_MONGO_PORT
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
5805aa6b
...
...
@@ -187,9 +187,8 @@
-
"
{{
sandbox_base_requirements
}}"
-
"
{{
sandbox_local_requirements
}}"
-
"
{{
sandbox_post_requirements
}}"
when
:
not EDXAPP_PYTHON_SANDBOX
sudo_user
:
"
{{
edxapp_user
}}"
when
:
not inst.stat.exists or new.stat.md5 != inst.stat.md5
when
:
"
not
EDXAPP_PYTHON_SANDBOX
and
(not
inst.stat.exists
or
new.stat.md5
!=
inst.stat.md5)"
notify
:
-
"
edxapp
|
restart
edxapp"
-
"
edxapp
|
restart
edxapp_workers"
...
...
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