mysql_user: add description for "update_password: on_new_username" argument

This commit is contained in:
Felix Hamme 2022-05-19 11:33:24 +02:00
commit e33b69d320

View file

@ -118,8 +118,12 @@ options:
description:
- C(always) will update passwords if they differ. This affects I(password) and the combination of I(plugin), I(plugin_hash_string), I(plugin_auth_string).
- C(on_create) will only set the password or the combination of plugin, plugin_hash_string, plugin_auth_string for newly created users.
- "C(on_new_username) works like C(on_create), but it tries to reuse an existing password: If one different user
with the same username exists, or multiple different users with the same username and equal ``plugin`` and
``authentication_string`` attribute, the existing ``plugin`` and ``authentication_string`` are used for the
new user instead of the C(password), I(plugin), I(plugin_hash_string) or I(plugin_auth_string) argument."
type: str
choices: [ always, on_create ]
choices: [ always, on_create, on_new_username ]
default: always
plugin:
description: