summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Klychkov <aaklychkov@mail.ru>2020-02-27 16:51:23 +0300
committerGitHub <noreply@github.com>2020-02-27 13:51:23 +0000
commita81ab5fe4067ffc6c7827d65b148480ba2ec643d (patch)
tree464c7dba52aca090dd8d03b75def5231d92211bd /test
parented306c799190e7ddb82d17d045ba66283445ef7c (diff)
downloadansible-a81ab5fe4067ffc6c7827d65b148480ba2ec643d.tar.gz
mysql_db: add possibility to make dump with --no-create-db option (#67767)
* mysql_db: add possibility to make dump with --no-create-db option * add changelog fragment * fix
Diffstat (limited to 'test')
-rw-r--r--test/integration/targets/mysql_db/tasks/state_dump_import.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/mysql_db/tasks/state_dump_import.yml b/test/integration/targets/mysql_db/tasks/state_dump_import.yml
index c1bb3674ce..abd655727b 100644
--- a/test/integration/targets/mysql_db/tasks/state_dump_import.yml
+++ b/test/integration/targets/mysql_db/tasks/state_dump_import.yml
@@ -74,7 +74,7 @@
assert:
that:
- result is changed
- - result.executed_commands[0] is search("mysqldump --force --socket={{ mysql_socket }} --databases {{ db_name }} --skip-lock-tables --quick --ignore-table={{ db_name }}.department --master-data=1 --skip-triggers")
+ - result.executed_commands[0] is search("mysqldump --force --socket={{ mysql_socket }} {{ db_name }} --skip-lock-tables --quick --ignore-table={{ db_name }}.department --master-data=1 --skip-triggers")
- name: state dump/import - file name should exist
file: name={{ db_file_name }} state=file