Commit 3c088102 by e0d

Merge pull request #761 from edx/e0d/devstack-fix

conditionally creating dbs.
parents 0fc14446 212d3abb
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
login_password={{ EDXAPP_MYSQL_PASSWORD }} login_password={{ EDXAPP_MYSQL_PASSWORD }}
state=present state=present
encoding=utf8 encoding=utf8
when: EDXAPP_MYSQL_USER
- name: create a database for xqueue - name: create a database for xqueue
mysql_db: > mysql_db: >
...@@ -28,6 +29,7 @@ ...@@ -28,6 +29,7 @@
login_password={{ XQUEUE_MYSQL_PASSWORD }} login_password={{ XQUEUE_MYSQL_PASSWORD }}
state=present state=present
encoding=utf8 encoding=utf8
when: XQUEUE_MYSQL_USER
- name: create a database for ora - name: create a database for ora
mysql_db: > mysql_db: >
...@@ -36,6 +38,7 @@ ...@@ -36,6 +38,7 @@
login_password={{ ORA_MYSQL_PASSWORD }} login_password={{ ORA_MYSQL_PASSWORD }}
state=present state=present
encoding=utf8 encoding=utf8
when: ORA_MYSQL_USER
- name: create a database for discern - name: create a database for discern
mysql_db: > mysql_db: >
...@@ -44,6 +47,7 @@ ...@@ -44,6 +47,7 @@
login_password={{ DISCERN_MYSQL_PASSWORD }} login_password={{ DISCERN_MYSQL_PASSWORD }}
state=present state=present
encoding=utf8 encoding=utf8
when: DISCERN_MYSQL_USER
- name: install memcached - name: install memcached
......
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