community.mysql/changelogs/fragments/365-mysql_user-add-on_new_username-and-password_changed.yml
betanummeric 58f5a4196c Update changelogs/fragments/365-mysql_user-add-on_new_username-and-password_changed.yml
Co-authored-by: Benjamin MALYNOVYTCH <bmalynovytch@users.noreply.github.com>
2022-05-31 12:32:19 +02:00

10 lines
784 B
YAML

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". See (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. See (https://github.com/ansible-collections/community.mysql/pull/365).