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
bf48f9ec
Commit
bf48f9ec
authored
Mar 21, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the migration user name and create the user for local builds.
parent
b4d22358
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
playbooks/roles/edxapp/defaults/main.yml
+1
-1
playbooks/roles/edxlocal/tasks/main.yml
+6
-0
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
bf48f9ec
...
...
@@ -32,7 +32,7 @@ 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_USER_MIGRATE
:
'
migrator001
'
EDXAPP_MYSQL_PASSWORD
:
'
password'
EDXAPP_MYSQL_PASSWORD_READ_ONLY
:
'
password'
EDXAPP_MYSQL_PASSWORD_ADMIN
:
'
password'
...
...
playbooks/roles/edxlocal/tasks/main.yml
View file @
bf48f9ec
...
...
@@ -13,6 +13,12 @@
-
name
:
install packages needed for single server
apt
:
pkg={{','.join(edxlocal_debian_pkgs)}} install_recommends=yes state=present
-
name
:
setup the migration db user
mysql_user
:
>
name={{ EDXAPP_MYSQL_USER_MIGRATE }}
password={{ EDXAPP_MYSQL_USER_MIGRATE }}
priv='{{EDXAPP_MYSQL_DB_NAME}}.*:ALL'
-
name
:
setup the edxapp db user
mysql_user
:
>
name={{ EDXAPP_MYSQL_USER }}
...
...
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