Fix errors when data schema is already absent

This commit is contained in:
Laurent Indermuehle 2022-06-22 15:42:14 +02:00
commit c1c44f248b
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -18,8 +18,8 @@
# ============================================================
- name: remove database if it exists
command: >
"{{ mysql_command }} -sse 'drop database {{ db_name }}'"
ignore_errors: True
"{{ mysql_command }} -sse 'DROP DATABASE IF EXISTS {{ db_name }}'"
ignore_errors: true
- name: make sure the test database is not there
command: "{{ mysql_command }} {{ db_name }}"