mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-26 16:01:45 -07:00
mysql_user: add description for "update_password: on_new_username" argument
This commit is contained in:
parent
161c801a76
commit
e33b69d320
1 changed files with 5 additions and 1 deletions
|
@ -118,8 +118,12 @@ options:
|
||||||
description:
|
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(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_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
|
type: str
|
||||||
choices: [ always, on_create ]
|
choices: [ always, on_create, on_new_username ]
|
||||||
default: always
|
default: always
|
||||||
plugin:
|
plugin:
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue