From a81ab5fe4067ffc6c7827d65b148480ba2ec643d Mon Sep 17 00:00:00 2001 From: Andrew Klychkov Date: Thu, 27 Feb 2020 16:51:23 +0300 Subject: 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 --- test/integration/targets/mysql_db/tasks/state_dump_import.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.1