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
eb677e77
Commit
eb677e77
authored
Aug 08, 2013
by
Joe Blaylock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP messing around
parent
59d86363
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
4 deletions
+19
-4
playbooks/edx-west/edxapp_stage.yml
+8
-1
playbooks/roles/edxapp/tasks/collect_static.yml
+4
-0
playbooks/roles/edxapp/tasks/deploy.yml
+4
-0
playbooks/roles/edxapp/vars/main.yml
+1
-1
playbooks/roles/ora/vars/main.yml
+1
-1
playbooks/roles/xqueue/vars/main.yml
+1
-1
No files found.
playbooks/edx-west/edxapp_stage.yml
View file @
eb677e77
-
hosts
:
tag_environment_stage:&tag_function_webserver
-
hosts
:
tag_environment_stage:&tag_function_webserver
sudo
:
True
sudo
:
True
vars_prompt
:
-
name
:
"
migrate_db"
prompt
:
"
Should
this
playbook
run
database
migrations?
(<Return>
for
false,
anything
else
for
true)"
default
:
false
private
:
no
vars
:
vars
:
secure_dir
:
../../../edx-secret/ansible
secure_dir
:
../../../edx-secret/ansible
local_dir
:
../../../edx-secret/ansible/local
local_dir
:
../../../edx-secret/ansible/local
...
@@ -7,9 +12,11 @@
...
@@ -7,9 +12,11 @@
-
"
{{
secure_dir
}}/vars/edxapp_stage_vars.yml"
-
"
{{
secure_dir
}}/vars/edxapp_stage_vars.yml"
-
"
{{
secure_dir
}}/vars/users.yml"
-
"
{{
secure_dir
}}/vars/users.yml"
-
"
{{
secure_dir
}}/vars/edxapp_stage_users.yml"
-
"
{{
secure_dir
}}/vars/edxapp_stage_users.yml"
#- "{{ secure_dir }}/vars/shib_stage_vars.yml"
roles
:
roles
:
-
common
-
common
-
nginx
-
nginx
# - gunicorn
-
edxapp
-
edxapp
-
apache
-
shibboleth
#- in_production
#- in_production
playbooks/roles/edxapp/tasks/collect_static.yml
View file @
eb677e77
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
-
lms-preview
-
lms-preview
-
lms-xml
-
lms-xml
-
deploy
-
deploy
-
jrbl
# Gather lms assets using django if necessary(When rake doesn't know how)
# Gather lms assets using django if necessary(When rake doesn't know how)
-
name
:
gather lms static assets with django
-
name
:
gather lms static assets with django
...
@@ -27,6 +28,7 @@
...
@@ -27,6 +28,7 @@
-
lms-preview
-
lms-preview
-
lms-xml
-
lms-xml
-
deploy
-
deploy
-
jrbl
# Gather cms assets using rake if possible
# Gather cms assets using rake if possible
...
@@ -42,6 +44,7 @@
...
@@ -42,6 +44,7 @@
tags
:
tags
:
-
cms
-
cms
-
deploy
-
deploy
-
jrbl
-
name
:
gather cms static assets with django
-
name
:
gather cms static assets with django
shell
:
SERVICE_VARIANT={{ cms_variant }} django-admin.py collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=lms.envs.aws --noinput --verbosity=0
shell
:
SERVICE_VARIANT={{ cms_variant }} django-admin.py collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=lms.envs.aws --noinput --verbosity=0
...
@@ -54,6 +57,7 @@
...
@@ -54,6 +57,7 @@
tags
:
tags
:
-
cms
-
cms
-
deploy
-
deploy
-
jrbl
-
name
:
update cms templates
-
name
:
update cms templates
shell
:
SERVICE_VARIANT={{ cms_variant }} django-admin.py update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
shell
:
SERVICE_VARIANT={{ cms_variant }} django-admin.py update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
eb677e77
...
@@ -161,6 +161,7 @@
...
@@ -161,6 +161,7 @@
-
lms-xml
-
lms-xml
-
cms
-
cms
-
deploy
-
deploy
-
jrbl
-
name
:
check if django can collect lms static data
-
name
:
check if django can collect lms static data
shell
:
SERVICE_VARIANT={{ lms_variant }} django-admin.py help collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=lms.envs.aws
shell
:
SERVICE_VARIANT={{ lms_variant }} django-admin.py help collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=lms.envs.aws
...
@@ -174,6 +175,7 @@
...
@@ -174,6 +175,7 @@
-
lms-preview
-
lms-preview
-
lms-xml
-
lms-xml
-
deploy
-
deploy
-
jrbl
-
name
:
check if django can collect cms static data
-
name
:
check if django can collect cms static data
shell
:
SERVICE_VARIANT={{ lms_variant }} django-admin.py help collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
shell
:
SERVICE_VARIANT={{ lms_variant }} django-admin.py help collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
...
@@ -185,6 +187,7 @@
...
@@ -185,6 +187,7 @@
tags
:
tags
:
-
cms
-
cms
-
deploy
-
deploy
-
jrbl
-
name
:
check if django can update cms templates
-
name
:
check if django can update cms templates
shell
:
SERVICE_VARIANT={{ cms_variant }} django-admin.py help update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
shell
:
SERVICE_VARIANT={{ cms_variant }} django-admin.py help update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
...
@@ -196,6 +199,7 @@
...
@@ -196,6 +199,7 @@
tags
:
tags
:
-
cms
-
cms
-
deploy
-
deploy
-
jrbl
-
include
:
collect_static.yml
-
include
:
collect_static.yml
when
:
celery_worker is not defined
when
:
celery_worker is not defined
...
...
playbooks/roles/edxapp/vars/main.yml
View file @
eb677e77
...
@@ -91,7 +91,7 @@ generic_env_config: &edxapp_generic_env
...
@@ -91,7 +91,7 @@ generic_env_config: &edxapp_generic_env
'
WIKI_ENABLED'
:
true
'
WIKI_ENABLED'
:
true
'
SYSLOG_SERVER'
:
'
syslog.a.m.i4x.org'
'
SYSLOG_SERVER'
:
'
syslog.a.m.i4x.org'
'
SITE_NAME'
:
'
example.com'
'
SITE_NAME'
:
'
example.com'
'
LOG_DIR'
:
'
/
mnt/
logs/edx'
'
LOG_DIR'
:
'
/logs/edx'
'
MEDIA_URL'
:
'
'
'
MEDIA_URL'
:
'
'
'
ANALYTICS_SERVER_URL'
:
'
'
'
ANALYTICS_SERVER_URL'
:
'
'
'
EEDBACK_SUBMISSION_EMAIL'
:
'
'
'
EEDBACK_SUBMISSION_EMAIL'
:
'
'
...
...
playbooks/roles/ora/vars/main.yml
View file @
eb677e77
...
@@ -17,7 +17,7 @@ ora_gunicorn_port: 8091
...
@@ -17,7 +17,7 @@ ora_gunicorn_port: 8091
# services on a single server.
# services on a single server.
ora_env_config
:
ora_env_config
:
"
LOGGING_ENV"
:
"
prod-grader"
"
LOGGING_ENV"
:
"
prod-grader"
"
LOG_DIR"
:
"
/
mnt/
logs"
"
LOG_DIR"
:
"
/logs"
"
REQUESTS_TIMEOUT"
:
"
5"
"
REQUESTS_TIMEOUT"
:
"
5"
"
QUEUES_TO_PULL_FROM"
:
"
open-ended"
"
QUEUES_TO_PULL_FROM"
:
"
open-ended"
"
TIME_BETWEEN_XQUEUE_PULLS"
:
"
5"
"
TIME_BETWEEN_XQUEUE_PULLS"
:
"
5"
...
...
playbooks/roles/xqueue/vars/main.yml
View file @
eb677e77
...
@@ -20,7 +20,7 @@ xqueue_env_config:
...
@@ -20,7 +20,7 @@ xqueue_env_config:
'
open-ended'
:
!!null
'
open-ended'
:
!!null
'
XQUEUE_WORKERS_PER_QUEUE'
:
12
'
XQUEUE_WORKERS_PER_QUEUE'
:
12
'
LOGGING_ENV'
:
'
sandbox'
'
LOGGING_ENV'
:
'
sandbox'
'
LOG_DIR'
:
'
/
mnt/
logs'
'
LOG_DIR'
:
'
/logs'
'
SYSLOG_SERVER'
:
'
syslog.a.m.i4x.org'
'
SYSLOG_SERVER'
:
'
syslog.a.m.i4x.org'
'
RABBIT_HOST'
:
'
localhost'
'
RABBIT_HOST'
:
'
localhost'
'
S3_BUCKET_PREFIX'
:
'
sandbox-bucket'
'
S3_BUCKET_PREFIX'
:
'
sandbox-bucket'
...
...
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