Commit 5805aa6b by Jason Bau

further mitx removal

parent a6b98466
# this gets all running prod webservers # this gets all running prod webservers
#- hosts: tag_environment_prod:&tag_function_webserver #- hosts: tag_environment_prod:&tag_function_webserver
# or we can get subsets of them by name # or we can get subsets of them by name
#- hosts: ~tag_Name_app(4|11|21|10|20)_prod #- hosts: ~tag_Name_app1_prod
#- hosts: ~tag_Name_app(10|20)_prod - hosts: ~tag_Name_app2_prod
#- hosts: ~tag_Name_app(11|21)_prod
## this is the test box ## this is the test box
#- hosts: ~tag_Name_app4_prod #- 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 ## you can also do security group, but don't do that
#- hosts: security_group_edx-prod-EdxappServerSecurityGroup-NSKCQTMZIPQB #- hosts: security_group_edx-prod-EdxappServerSecurityGroup-NSKCQTMZIPQB
sudo: True sudo: True
...@@ -40,8 +39,9 @@ ...@@ -40,8 +39,9 @@
nginx_sites: nginx_sites:
- lms - lms
- cms - cms
- lms-preview - verify
nginx_template_directory: "{{local_dir}}/nginx/templates/" nginx_template_directory: "{{local_dir}}/nginx/templates/"
tags: nginx
- edxapp - edxapp
- apache - apache
- shibboleth - shibboleth
......
...@@ -59,7 +59,7 @@ EDXAPP_CELERY_PASSWORD: 'celery' ...@@ -59,7 +59,7 @@ EDXAPP_CELERY_PASSWORD: 'celery'
EDXAPP_PLATFORM_NAME: 'edX' EDXAPP_PLATFORM_NAME: 'edX'
EDXAPP_MITX_FEATURES: EDXAPP_FEATURES:
AUTH_USE_OPENID_PROVIDER: true AUTH_USE_OPENID_PROVIDER: true
CERTIFICATES_ENABLED: true CERTIFICATES_ENABLED: true
ENABLE_DISCUSSION_SERVICE: true ENABLE_DISCUSSION_SERVICE: true
...@@ -242,7 +242,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth ...@@ -242,7 +242,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth
host: $EDXAPP_MONGO_HOSTS host: $EDXAPP_MONGO_HOSTS
password: $EDXAPP_MONGO_PASSWORD password: $EDXAPP_MONGO_PASSWORD
port: $EDXAPP_MONGO_PORT port: $EDXAPP_MONGO_PORT
render_template: 'mitxmako.shortcuts.render_to_string' render_template: 'edxmako.shortcuts.render_to_string'
# Needed for the CMS to be able to run update_templates # Needed for the CMS to be able to run update_templates
user: $EDXAPP_MONGO_USER user: $EDXAPP_MONGO_USER
DOC_STORE_CONFIG: *edxapp_generic_default_docstore DOC_STORE_CONFIG: *edxapp_generic_default_docstore
...@@ -282,7 +282,7 @@ generic_env_config: &edxapp_generic_env ...@@ -282,7 +282,7 @@ generic_env_config: &edxapp_generic_env
LOCAL_LOGLEVEL: $EDXAPP_LOG_LEVEL LOCAL_LOGLEVEL: $EDXAPP_LOG_LEVEL
# default email backed set to local SMTP # default email backed set to local SMTP
EMAIL_BACKEND: $EDXAPP_EMAIL_BACKEND EMAIL_BACKEND: $EDXAPP_EMAIL_BACKEND
MITX_FEATURES: $EDXAPP_MITX_FEATURES FEATURES: $EDXAPP_FEATURES
WIKI_ENABLED: true WIKI_ENABLED: true
SYSLOG_SERVER: $EDXAPP_SYSLOG_SERVER SYSLOG_SERVER: $EDXAPP_SYSLOG_SERVER
SITE_NAME: $EDXAPP_SITE_NAME SITE_NAME: $EDXAPP_SITE_NAME
...@@ -350,7 +350,7 @@ lms_auth_config: ...@@ -350,7 +350,7 @@ lms_auth_config:
host: $EDXAPP_MONGO_HOSTS host: $EDXAPP_MONGO_HOSTS
db: $EDXAPP_MONGO_DB_NAME db: $EDXAPP_MONGO_DB_NAME
collection: 'modulestore' collection: 'modulestore'
render_template: 'mitxmako.shortcuts.render_to_string' render_template: 'edxmako.shortcuts.render_to_string'
user: $EDXAPP_MONGO_USER user: $EDXAPP_MONGO_USER
password: $EDXAPP_MONGO_PASSWORD password: $EDXAPP_MONGO_PASSWORD
port: $EDXAPP_MONGO_PORT port: $EDXAPP_MONGO_PORT
......
...@@ -187,9 +187,8 @@ ...@@ -187,9 +187,8 @@
- "{{ sandbox_base_requirements }}" - "{{ sandbox_base_requirements }}"
- "{{ sandbox_local_requirements }}" - "{{ sandbox_local_requirements }}"
- "{{ sandbox_post_requirements }}" - "{{ sandbox_post_requirements }}"
when: not EDXAPP_PYTHON_SANDBOX
sudo_user: "{{ edxapp_user }}" 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: notify:
- "edxapp | restart edxapp" - "edxapp | restart edxapp"
- "edxapp | restart edxapp_workers" - "edxapp | restart edxapp_workers"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment