Release 3.3.0 commit (#389)

This commit is contained in:
Andrew Klychkov 2022-06-02 09:23:25 +03:00 committed by GitHub
commit 482a0d8ee9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 81 additions and 28 deletions

View file

@ -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).

View file

@ -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"

View file

@ -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).

View file

@ -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)."

View file

@ -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).

View file

@ -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).