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
1822404a
Commit
1822404a
authored
Mar 27, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using edxapp_mysql_user_migrate user to run migrations
parent
7362c081
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
playbooks/roles/edxapp/tasks/service_variant_config.yml
+3
-3
No files found.
playbooks/roles/edxapp/tasks/service_variant_config.yml
View file @
1822404a
...
...
@@ -100,15 +100,15 @@
{{ 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
environment
:
DB_MIGRATION_USER
:
"
{{
EDXAPP_MYSQL_USER_MIGRATE
}}"
DB_MIGRATION_PASS
:
"
{{
EDXAPP_MYSQL_PASSWORD_MIGRATE
}}"
DB_MIGRATION_USER
:
"
{{
COMMON_MYSQL_MIGRATE_USER
}}"
DB_MIGRATION_PASS
:
"
{{
COMMON_MYSQL_MIGRATE_PASS
}}"
sudo_user
:
"
{{
edxapp_user
}}"
notify
:
-
"
restart
edxapp"
-
"
restart
edxapp_workers"
# Syncdb with migrate when the default migrate user is not set,
# in this case use the
application
user to run migrations
# in this case use the
EDXAPP_MYSQL_USER_MIGRATE
user to run migrations
-
name
:
syncdb and migrate
shell
:
>
chdir={{ edxapp_code_dir }}
...
...
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