diff options
author | Andrew Klychkov <aaklychkov@mail.ru> | 2020-02-27 16:51:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-27 13:51:23 +0000 |
commit | a81ab5fe4067ffc6c7827d65b148480ba2ec643d (patch) | |
tree | 464c7dba52aca090dd8d03b75def5231d92211bd /test | |
parent | ed306c799190e7ddb82d17d045ba66283445ef7c (diff) | |
download | ansible-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.yml | 2 |
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 |