additional documentation to password,plugin,plugin_hash_string,plugin_auth_string options, format fix on changelog

This commit is contained in:
Hubertus Krogmann 2022-05-25 15:05:23 +02:00
commit 23b1777fa2
2 changed files with 4 additions and 6 deletions

View file

@ -1,4 +1,2 @@
bugfixes: 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)." - "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
- ``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

@ -22,7 +22,7 @@ options:
required: true required: true
password: password:
description: description:
- Set the user's password. - Set the user's password. Only for `mysql_native_password` authentication. For other authentication plugins see the combination of plugin, plugin_hash_string, plugin_auth_string.
type: str type: str
encrypted: encrypted:
description: description:
@ -115,8 +115,8 @@ options:
default: no default: no
update_password: update_password:
description: description:
- C(always) will update passwords if they differ. - C(always) will update passwords if they differ. This affects password and the combinationi of plugin, plugin_hash_string, plugin_auth_string
- C(on_create) will only set the password for newly created users. - C(on_create) will only set the password or the combination of plugin, plugin_hash_string, plugin_auth_string for newly created users.
type: str type: str
choices: [ always, on_create ] choices: [ always, on_create ]
default: always default: always