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
ed39ee2a
Commit
ed39ee2a
authored
Mar 27, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating create_dbs to give the right perms to the migrate user
parent
1493165e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
playbooks/edx-east/create_dbs.yml
+10
-1
No files found.
playbooks/edx-east/create_dbs.yml
View file @
ed39ee2a
...
...
@@ -83,37 +83,45 @@
login_host
:
"
{{
item.db_host
}}"
login_user
:
"
{{
item.db_user
}}"
login_password
:
"
{{
item.db_pass
}}"
append_privs
:
yes
host
:
'
%'
when
:
item.db_user != 'None'
with_items
:
-
db_host
:
"
{{
EDXAPP_MYSQL_HOST|default('None')
}}"
db_name
:
"
{{
EDXAPP_MYSQL_DB_NAME|default('None')
}}"
db_user
:
"
{{
edxapp_db_root_user
}}"
db_pass
:
"
{{
db_root_pass
}}"
-
db_host
:
"
{{
XQUEUE_MYSQL_HOST|default('None')
}}"
db_name
:
"
{{
XQUEUE_MYSQL_DB_NAME|default('None')
}}"
db_user
:
"
{{
xqueue_db_root_user
}}"
db_pass
:
"
{{
db_root_pass
}}"
-
db_host
:
"
{{
ORA_MYSQL_HOST|default('None')
}}"
db_name
:
"
{{
ORA_MYSQL_DB_NAME|default('None')
}}"
db_user
:
"
{{
ora_db_root_user
}}"
db_pass
:
"
{{
db_root_pass
}}"
-
name
:
assign mysql user permissions for migrate user
mysql_user
:
name
:
"
{{
COMMON_MYSQL_MIGRATE_USER
}}"
priv
:
"
*
.*:SELECT,INSERT,UPDATE,DELETE,ALTER,CREATE,DROP,INDEX"
priv
:
"
{{
item.db_name
}}
.*:SELECT,INSERT,UPDATE,DELETE,ALTER,CREATE,DROP,INDEX"
password
:
"
{{
COMMON_MYSQL_MIGRATE_PASS
}}"
login_host
:
"
{{
item.db_host
}}"
login_user
:
"
{{
item.db_user
}}"
login_password
:
"
{{
item.db_pass
}}"
append_privs
:
yes
host
:
'
%'
when
:
item.db_user != 'None'
with_items
:
-
db_host
:
"
{{
EDXAPP_MYSQL_HOST|default('None')
}}"
db_name
:
"
{{
EDXAPP_MYSQL_DB_NAME|default('None')
}}"
db_user
:
"
{{
edxapp_db_root_user
}}"
db_pass
:
"
{{
db_root_pass
}}"
-
db_host
:
"
{{
XQUEUE_MYSQL_HOST|default('None')
}}"
db_name
:
"
{{
XQUEUE_MYSQL_DB_NAME|default('None')
}}"
db_user
:
"
{{
xqueue_db_root_user
}}"
db_pass
:
"
{{
db_root_pass
}}"
-
db_host
:
"
{{
ORA_MYSQL_HOST|default('None')
}}"
db_name
:
"
{{
ORA_MYSQL_DB_NAME|default('None')
}}"
db_user
:
"
{{
ora_db_root_user
}}"
db_pass
:
"
{{
db_root_pass
}}"
...
...
@@ -126,6 +134,7 @@
login_host
:
"
{{
item.db_host
}}"
login_user
:
"
{{
item.db_user
}}"
login_password
:
"
{{
item.db_pass
}}"
append_privs
:
yes
host
:
'
%'
when
:
item.db_user != 'None'
with_items
:
...
...
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