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
c0fdc5b1
Commit
c0fdc5b1
authored
Aug 15, 2013
by
Joe Blaylock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Checking in staging and ora updates
parent
806a9b3a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
12 deletions
+31
-12
playbooks/edx-west/edxapp_prod.yml
+2
-4
playbooks/edx-west/stage-all.yml
+14
-0
playbooks/edx-west/stage-ora.yml
+15
-0
playbooks/roles/edxapp/tasks/collect_static.yml
+0
-4
playbooks/roles/edxapp/tasks/deploy.yml
+0
-4
No files found.
playbooks/edx-west/edxapp_prod.yml
View file @
c0fdc5b1
# 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
)_prod
#- hosts: ~tag_Name_app(10|20
)_prod
#- hosts: ~tag_Name_app(11|21)_prod
## these are cold hosts:
#- hosts: ~tag_Name_app(12|22)_prod
## this is the test box
#
- hosts: ~tag_Name_app4_prod
-
hosts
:
~tag_Name_app4_prod
## you can also do security group, but don't do that
#- hosts: security_group_edx-prod-EdxappServerSecurityGroup-NSKCQTMZIPQB
sudo
:
True
...
...
playbooks/edx-west/stage-all.yml
0 → 100644
View file @
c0fdc5b1
---
-
hosts
:
tag_environment_stage
#- hosts: tag_Name_bastion_stage
sudo
:
True
vars
:
secure_dir
:
../../../edx-secret/ansible
local_dir
:
../../../edx-secret/ansible/local
vars_files
:
-
"
{{
secure_dir
}}/vars/edxapp_stage_vars.yml"
-
"
{{
secure_dir
}}/vars/users.yml"
-
"
{{
secure_dir
}}/vars/edxapp_stage_users.yml"
roles
:
-
common
playbooks/edx-west/stage-ora.yml
0 → 100644
View file @
c0fdc5b1
---
-
hosts
:
tag_environment_stage:&tag_function_ora
sudo
:
True
vars
:
secure_dir
:
../../../configuration-secure/ansible
local_dir
:
../../../configuration-secure/ansible/local
migrate_db
:
"
yes"
vars_files
:
-
"
{{
secure_dir
}}/vars/ora_stage_vars.yml"
-
"
{{
secure_dir
}}/vars/edxapp_stage_users.yml"
roles
:
-
common
-
nginx
-
ora
playbooks/roles/edxapp/tasks/collect_static.yml
View file @
c0fdc5b1
...
...
@@ -12,7 +12,6 @@
-
lms-preview
-
lms-xml
-
deploy
-
jrbl
# Gather lms assets using django if necessary(When rake doesn't know how)
-
name
:
gather lms static assets with django
...
...
@@ -28,7 +27,6 @@
-
lms-preview
-
lms-xml
-
deploy
-
jrbl
# Gather cms assets using rake if possible
...
...
@@ -44,7 +42,6 @@
tags
:
-
cms
-
deploy
-
jrbl
-
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
...
...
@@ -57,7 +54,6 @@
tags
:
-
cms
-
deploy
-
jrbl
-
name
:
update cms templates
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 @
c0fdc5b1
...
...
@@ -161,7 +161,6 @@
-
lms-xml
-
cms
-
deploy
-
jrbl
-
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
...
...
@@ -175,7 +174,6 @@
-
lms-preview
-
lms-xml
-
deploy
-
jrbl
-
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
...
...
@@ -187,7 +185,6 @@
tags
:
-
cms
-
deploy
-
jrbl
-
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
...
...
@@ -199,7 +196,6 @@
tags
:
-
cms
-
deploy
-
jrbl
-
include
:
collect_static.yml
when
:
celery_worker is not defined
...
...
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