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
b56fc919
Commit
b56fc919
authored
May 16, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing syntax
parent
ba8cd59c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
util/vpc-tools/db-clone.py
+2
-3
No files found.
util/vpc-tools/db-clone.py
View file @
b56fc919
...
...
@@ -159,7 +159,6 @@ if __name__ == '__main__':
print
(
"Running {}"
.
format
(
sanitize_cmd
))
os
.
system
(
sanitize_cmd
)
if
args
.
secret_var_file
:
db_cmd
=
"""cd {play_path} && ansible-playbook -c local -i 127.0.0.1, update_edxapp_db_users.yml """
\
"""-e @{secret_var_file} -e "edxapp_db_root_user=root edxapp_db_root_pass={root_pass} """
\
...
...
@@ -183,5 +182,5 @@ if __name__ == '__main__':
# remove full mysql access from within the vpc
if
args
.
stack_name
:
rds
.
modify_db_instance
(
restore_dbid
,
vpc_security_group_ids
=
[
SG_GROUPS
[
args
.
stack_name
]])
else
rds
.
modify_db_instance
(
restore_dbid
,
db_security_groups
=
[]
]
)
else
:
rds
.
modify_db_instance
(
restore_dbid
,
db_security_groups
=
[])
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