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
379b1c80
Commit
379b1c80
authored
Mar 21, 2014
by
Carson Gee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding MIGRATE user
parent
021cea1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
playbooks/roles/edxapp/defaults/main.yml
+2
-0
playbooks/roles/edxapp/tasks/service_variant_config.yml
+4
-4
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
379b1c80
...
...
@@ -32,9 +32,11 @@ EDXAPP_MONGO_DB_NAME: 'edxapp'
EDXAPP_MYSQL_DB_NAME
:
'
edxapp'
EDXAPP_MYSQL_USER
:
'
edxapp001'
EDXAPP_MYSQL_USER_ADMIN
:
'
root'
EDXAPP_MYSQL_USER_MIGRATE
:
'
root'
EDXAPP_MYSQL_PASSWORD
:
'
password'
EDXAPP_MYSQL_PASSWORD_READ_ONLY
:
'
password'
EDXAPP_MYSQL_PASSWORD_ADMIN
:
'
password'
EDXAPP_MYSQL_PASSWORD_MIGRATE
:
'
password'
EDXAPP_MYSQL_HOST
:
'
localhost'
EDXAPP_MYSQL_PORT
:
'
3306'
...
...
playbooks/roles/edxapp/tasks/service_variant_config.yml
View file @
379b1c80
...
...
@@ -68,8 +68,8 @@
{{ 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"
environment
:
DB_MIGRATION_USER
:
"
{{
EDXAPP_MYSQL_USER_
ADMIN
}}"
DB_MIGRATION_PASS
:
"
{{
EDXAPP_MYSQL_PASSWORD_
ADMIN
}}"
DB_MIGRATION_USER
:
"
{{
EDXAPP_MYSQL_USER_
MIGRATE
}}"
DB_MIGRATION_PASS
:
"
{{
EDXAPP_MYSQL_PASSWORD_
MIGRATE
}}"
sudo_user
:
"
{{
edxapp_user
}}"
notify
:
-
"
restart
edxapp"
...
...
@@ -99,8 +99,8 @@
{{ edxapp_venv_bin}}/python manage.py lms migrate --noinput --settings=aws_migrate
when
:
fake_migrations is not defined and migrate_only is defined and migrate_only|lower == "yes"
environment
:
DB_MIGRATION_USER
:
"
{{
EDXAPP_MYSQL_USER_
ADMIN
}}"
DB_MIGRATION_PASS
:
"
{{
EDXAPP_MYSQL_PASSWORD_
ADMIN
}}"
DB_MIGRATION_USER
:
"
{{
EDXAPP_MYSQL_USER_
MIGRATE
}}"
DB_MIGRATION_PASS
:
"
{{
EDXAPP_MYSQL_PASSWORD_
MIGRATE
}}"
sudo_user
:
"
{{
edxapp_user
}}"
notify
:
-
"
restart
edxapp"
...
...
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