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
edx
configuration
Commits
a3a28a1a
Commit
a3a28a1a
authored
Aug 05, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1294 from IONISx/tusbar/migrate-all-service-variants
Migrate all enabled service variants databases
parents
ceb172cb
ddb6a500
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
playbooks/roles/edxapp/tasks/service_variant_config.yml
+3
-2
No files found.
playbooks/roles/edxapp/tasks/service_variant_config.yml
View file @
a3a28a1a
...
...
@@ -79,12 +79,13 @@
-
name
:
syncdb and migrate
shell
:
>
chdir={{ edxapp_code_dir }}
{{ edxapp_venv_bin}}/python manage.py
lms
syncdb --migrate --noinput --settings=aws_migrate
when
:
fake_migrations is not defined and migrate_db is defined and migrate_db|lower == "yes" and COMMON_MYSQL_MIGRATE_PASS
{{ edxapp_venv_bin}}/python manage.py
{{ item }}
syncdb --migrate --noinput --settings=aws_migrate
when
:
fake_migrations is not defined and migrate_db is defined and migrate_db|lower == "yes" and COMMON_MYSQL_MIGRATE_PASS
and item != "lms-preview"
environment
:
DB_MIGRATION_USER
:
"
{{
COMMON_MYSQL_MIGRATE_USER
}}"
DB_MIGRATION_PASS
:
"
{{
COMMON_MYSQL_MIGRATE_PASS
}}"
sudo_user
:
"
{{
edxapp_user
}}"
with_items
:
service_variants_enabled
notify
:
-
"
restart
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