mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-05 10:10:32 -07:00
Announce pipefail default change in community.mysql 4.0.0 (#408)
This commit is contained in:
parent
5108ca5e66
commit
1776702b9d
3 changed files with 11 additions and 4 deletions
6
changelogs/fragments/2-mysql_db_announce.yml
Normal file
6
changelogs/fragments/2-mysql_db_announce.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
minor_changes:
|
||||
- mysql_db - add the ``pipefail`` argument to avoid broken dumps when ``state`` is ``dump`` and compression is used (https://github.com/ansible-collections/community.mysql/issues/256).
|
||||
|
||||
major_changes:
|
||||
- mysql_db - the ``pipefail`` argument's default value will be changed to ``true`` in community.mysql 4.0.0. If your target machines do not use ``bash`` as a default interpreter, set ``pipefail`` to ``false`` explicitly. However, we strongly recommend setting up ``bash`` as a default and ``pipefail=true`` as it will protect you from getting broken dumps you don't know about (https://github.com/ansible-collections/community.mysql/issues/407).
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
|
||||
bugfixes:
|
||||
- mysql_dump - Fixes issue 256. Using compression masks errors messages from
|
||||
mysql_dump. By default the fix is inactiv to ensure retro-compatibility
|
||||
- mysql_dump - using compression masks errors messages from
|
||||
mysql_dump. By default the fix is inactive to ensure retro-compatibility
|
||||
with system without bash. To activate the fix, use the module option
|
||||
``pipefail=true`` (https://github.com/ansible-collections/community.mysql/issues/256).
|
||||
|
|
|
@ -159,8 +159,9 @@ options:
|
|||
pipefail:
|
||||
description:
|
||||
- Use C(bash) instead of C(sh) and add C(-o pipefail) to catch errors from the
|
||||
mysql_dump command when I(state=import) and compression is used. The default is I(false) to
|
||||
prevent issue on system without bash. The default may change in a future release.
|
||||
mysql_dump command when I(state=import) and compression is used.
|
||||
- The default is C(no) to prevent issues on systems without bash as a default interpreter.
|
||||
- The default will change to C(yes) in community.mysql 4.0.0.
|
||||
type: bool
|
||||
default: no
|
||||
version_added: '3.4.0'
|
||||
|
|
Loading…
Add table
Reference in a new issue