mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-23 05:10:24 -07:00
Release 3.3.0 commit (#389)
This commit is contained in:
parent
2e9d50f274
commit
482a0d8ee9
9 changed files with 81 additions and 28 deletions
|
@ -140,3 +140,57 @@ releases:
|
|||
- 3.2.1.yml
|
||||
- psf-license.yml
|
||||
release_date: '2022-05-17'
|
||||
3.3.0:
|
||||
changes:
|
||||
bugfixes:
|
||||
- mysql_query - fix false change reports when ``IF EXISTS/IF NOT EXISTS`` clause
|
||||
is used (https://github.com/ansible-collections/community.mysql/issues/268).
|
||||
- 'mysql_role - don''t add members to a role when creating the role and ``detach_members:
|
||||
true`` is set (https://github.com/ansible-collections/community.mysql/pull/367).'
|
||||
- 'mysql_role - in some cases (when "SHOW GRANTS" did not use backticks for
|
||||
quotes), no unwanted members were detached from the role (and redundant "GRANT"
|
||||
statements were executed for wanted members). This is fixed by querying the
|
||||
existing role members from the mysql.role_edges (MySQL) or mysql.roles_mapping
|
||||
(MariaDB) tables instead of parsing the "SHOW GRANTS" output (https://github.com/ansible-collections/community.mysql/pull/368).
|
||||
|
||||
'
|
||||
- mysql_user - fix logic when ``update_password`` is set to ``on_create`` for
|
||||
users using ``plugin*`` arguments (https://github.com/ansible-collections/community.mysql/issues/334).
|
||||
The ``on_create`` sets ``password`` to None for old mysql_native_authentication
|
||||
but not for authentiation methods which uses the ``plugin*`` arguments. This
|
||||
PR changes this so ``on_create`` also exchange ``plugin``, ``plugin_hash_string``,
|
||||
``plugin_auth_string`` to None in the list of arguments to change
|
||||
minor_changes:
|
||||
- 'mysql_role - add the argument ``members_must_exist`` (boolean, default true).
|
||||
The assertion that the users supplied in the ``members`` argument exist is
|
||||
only executed when the new argument ``members_must_exist`` is ``true``, to
|
||||
allow opt-out (https://github.com/ansible-collections/community.mysql/pull/369).
|
||||
|
||||
'
|
||||
- 'mysql_user - Add the option ``on_new_username`` to argument ``update_password``
|
||||
to reuse the password (plugin and authentication_string) when creating a new
|
||||
user if some user with the same name already exists. If the existing user
|
||||
with the same name have varying passwords, the password from the arguments
|
||||
is used like with ``update_password: always`` (https://github.com/ansible-collections/community.mysql/pull/365).
|
||||
|
||||
'
|
||||
- 'mysql_user - Add the result field ``password_changed`` (boolean). It is true,
|
||||
when the user got a new password. When the user was created with ``update_password:
|
||||
on_new_username`` and an existing password was reused, ``password_changed``
|
||||
is false (https://github.com/ansible-collections/community.mysql/pull/365).
|
||||
|
||||
'
|
||||
release_summary: 'This is the minor release of the ``community.mysql`` collection.
|
||||
|
||||
This changelog contains all changes to the modules in this collection
|
||||
|
||||
that have been added after the release of ``community.mysql`` 3.2.1.'
|
||||
fragments:
|
||||
- 3.3.0.yml
|
||||
- 322-mysql_query_fix_false_change_report.yml
|
||||
- 334-mysql_user_fix_logic_on_oncreate.yml
|
||||
- 365-mysql_user-add-on_new_username-and-password_changed.yml
|
||||
- 367-mysql_role-fix-deatch-members.yml
|
||||
- 368-mysql_role-fix-member-detection.yml
|
||||
- 369_mysql_role-add-members_must_exist.yml
|
||||
release_date: '2022-06-02'
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
bugfixes:
|
||||
- mysql_query - fix false change reports when ``IF EXISTS/IF NOT EXISTS`` clause is used (https://github.com/ansible-collections/community.mysql/issues/268).
|
|
@ -1,2 +0,0 @@
|
|||
bugfixes:
|
||||
- "mysql_user - fix logic when ``update_password`` is set to ``on_create`` for users using ``plugin*`` arguments (https://github.com/ansible-collections/community.mysql/issues/334). The ``on_create`` sets ``password`` to None for old mysql_native_authentication but not for authentiation methods which uses the ``plugin*`` arguments. This PR changes this so ``on_create`` also exchange ``plugin``, ``plugin_hash_string``, ``plugin_auth_string`` to None in the list of arguments to change"
|
|
@ -1,10 +0,0 @@
|
|||
minor_changes:
|
||||
- >
|
||||
mysql_user - Add the option ``on_new_username`` to argument ``update_password`` to reuse the password (plugin and
|
||||
authentication_string) when creating a new user if some user with the same name already exists.
|
||||
If the existing user with the same name have varying passwords, the password from the arguments is used like with
|
||||
``update_password: always`` (https://github.com/ansible-collections/community.mysql/pull/365).
|
||||
- >
|
||||
mysql_user - Add the result field ``password_changed`` (boolean). It is true, when the user got a new password.
|
||||
When the user was created with ``update_password: on_new_username`` and an existing password was reused,
|
||||
``password_changed`` is false (https://github.com/ansible-collections/community.mysql/pull/365).
|
|
@ -1,2 +0,0 @@
|
|||
bugfixes:
|
||||
- "mysql_role - don't add members to a role when creating the role and ``detach_members: true`` is set (https://github.com/ansible-collections/community.mysql/pull/367)."
|
|
@ -1,6 +0,0 @@
|
|||
bugfixes:
|
||||
- >
|
||||
mysql_role - in some cases (when "SHOW GRANTS" did not use backticks for quotes), no unwanted members were detached
|
||||
from the role (and redundant "GRANT" statements were executed for wanted members). This is fixed by querying the
|
||||
existing role members from the mysql.role_edges (MySQL) or mysql.roles_mapping (MariaDB) tables instead of parsing
|
||||
the "SHOW GRANTS" output (https://github.com/ansible-collections/community.mysql/pull/368).
|
|
@ -1,4 +0,0 @@
|
|||
minor_changes:
|
||||
- >
|
||||
mysql_role - add the argument ``members_must_exist`` (boolean, default true). The assertion that the users supplied in
|
||||
the ``members`` argument exist is only executed when the new argument ``members_must_exist`` is ``true``, to allow opt-out (https://github.com/ansible-collections/community.mysql/pull/369).
|
Loading…
Add table
Add a link
Reference in a new issue