Fix "command not found" and "database doesn't exists"

This commit is contained in:
Laurent Indermuehle 2022-08-11 17:52:14 +02:00
commit d37871e148
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -28,8 +28,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 }}"