mysql_db: add use_shell parameter to prevent Broken pipe errors (#151)

* mysql_db: prevent broken pipe errors by using an intermediate shell process

* use module.run_command()

* mysql_db: add use_shell parameter

* add changelog fragment
This commit is contained in:
Andrew Klychkov 2020-04-20 18:46:54 +03:00 committed by GitHub
commit 3b5520ebf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 13 deletions

View file

@ -0,0 +1,5 @@
minor_changes:
- mysql_db - add the ``use_shell`` parameter (https://github.com/ansible/ansible/issues/20196).
bugfixes:
- mysql_db - fix Broken pipe error appearance when state is import and the target file is compressed (https://github.com/ansible/ansible/issues/20196).