Commit b91532af by Toshio Kuratomi

Drop the mysql test db first so that we test with a clean slate.

parent b72a9125
......@@ -17,6 +17,11 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# ============================================================
- name: make sure the test database is not there
command: mysql "-e drop database '{{db_name}}';"
ignore_errors: True
- name: test state=present for a database name (expect changed=true)
mysql_db: name={{ db_name }} state=present
register: result
......
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