Commit cb52b7b8 by John Jarvis

updating the clone script to use the right xqueue db host

Only updating python-mysql if we aren't on jenkins
parent 81e7f58d
......@@ -40,6 +40,7 @@
sudo: yes
with_items:
- python-mysqldb
when: ansible_ssh_user != 'jenkins'
- name: create mysql databases for the edX stack
mysql_db: >
db={{ item[0] }}{{ item[1].db_name }}
......
......@@ -159,7 +159,8 @@ if __name__ == '__main__':
db_cmd = """cd {play_path} && ansible-playbook -c local -i 127.0.0.1, create_dbs.yml """ \
"""{extra_args} -e "edxapp_db_root_user=root xqueue_db_root_user=root" """ \
""" -e "db_root_pass={root_pass}" """ \
""" -e "EDXAPP_MYSQL_HOST={db_host}" """.format(
""" -e "EDXAPP_MYSQL_HOST={db_host}" """ \
""" -e "XQUEUE_MYSQL_HOST={db_host}" """.format(
root_pass=args.password,
extra_args=extra_args,
db_host=db_host,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment