Skip to content

Commit

Permalink
running update db users locally
Browse files Browse the repository at this point in the history
  • Loading branch information
jarv committed Apr 29, 2014
1 parent 74fb2c2 commit e512b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/vpc-tools/db-clone.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def wait_on_db_status(db_name, region='us-east-1', wait_on='available', aws_id=N
os.system(sanitize_cmd)

if args.secret_var_file:
db_cmd = """cd {play_path} && ansible-playbook -i 10.3.10.17, update_edxapp_db_users.yml """ \
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} """ \
"""EDXAPP_MYSQL_HOST={db_host}" """.format(
root_pass=args.password,
Expand Down

0 comments on commit e512b5f

Please sign in to comment.