Commit d7e4e97a by Ibrahim

Add mysql commmand

parent 5ad9a4c2
WHITELABEL_MYSQL_COMMAND:
- "CREATE SCHEMA discovery;"
- "CREATE USER 'discov001'@'localhost' IDENTIFIED BY 'password';"
- "GRANT ALL PRIVILEGES ON discovery.* TO 'discov001'@'localhost';"
......@@ -29,3 +29,7 @@
shell: >
/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local -e@/edx/app/edx_ansible/server-vars.yml /edx/app/edx_ansible/edx_ansible/playbooks/edx-east/discovery.yml
- name: "Setup MySql Database"
shell: >
"mysql -u root -e {{ item }}"
with_items: "{{ WHITELABEL_MYSQL_COMMAND }}"
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