mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-25 07:21:45 -07:00
Fix "command not found" and "database doesn't exists"
This commit is contained in:
parent
4a87771a77
commit
d37871e148
1 changed files with 2 additions and 2 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue