mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-19 17:01:26 -07:00
add service name to plugin pam/auth_pam usage (#445)
* add service name to plugin pam/auth_pam usage * typo fixed * MySLQ is using identified with auth_pam by ... instead of identified with pam using ... like mariadb does * a : in description lines breaks yaml syntax * clearify documentation and add changelog fragment * Update changelogs/fragments/445_add_service_name_to_plugin_pam_auth_pam_usage.yml Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> * Update plugins/module_utils/user.py Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
This commit is contained in:
parent
eade7ec1f0
commit
8a579b42e3
3 changed files with 15 additions and 3 deletions
|
@ -117,7 +117,7 @@ options:
|
|||
update_password:
|
||||
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_create) will only set the password or the combination of I(plugin), I(plugin_hash_string), I(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 C(plugin) and
|
||||
C(authentication_string) attribute, the existing C(plugin) and C(authentication_string) are used for the
|
||||
|
@ -138,6 +138,7 @@ options:
|
|||
plugin_auth_string:
|
||||
description:
|
||||
- User's plugin auth_string (``CREATE USER user IDENTIFIED WITH plugin BY plugin_auth_string``).
|
||||
- If I(plugin) is ``pam`` (MariaDB) or ``auth_pam`` (MySQL) an optional I(plugin_auth_string) can be used to choose a specific PAM service.
|
||||
type: str
|
||||
version_added: '0.1.0'
|
||||
resource_limits:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue