mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-06 10:40:36 -07:00
document that sha256 and caching_sha2 plugins doesn't work properly
Even if you use print_identified_with_as_hex to prevent the password to contains binary characters. I think this is because PyMySQL and mysqlclient wrap the password in quote. We could try to convert to another python connector, like mysql-connector-python.
This commit is contained in:
parent
7b7d2f5500
commit
d7de96a601
1 changed files with 3 additions and 1 deletions
|
@ -133,6 +133,7 @@ EXAMPLES = r'''
|
|||
- users_privs
|
||||
register: result
|
||||
|
||||
# Don't work with sha256_password and cache_sha2_password
|
||||
- name: Clone users on another server - Step 2
|
||||
community.mysql.mysql_user:
|
||||
name: "{{ item.name }}"
|
||||
|
@ -219,7 +220,8 @@ users_privs:
|
|||
description:
|
||||
Information about users accounts. The output can be used as an input of the
|
||||
mysql_user plugin. Useful when migrating accounts to a new server or to
|
||||
create an inventory. Does not support proxy privileges.
|
||||
create an inventory. Does not support proxy privileges. Cause issue with
|
||||
authentications plugins sha256_password and caching_sha2_password.
|
||||
returned: if not excluded by filter
|
||||
type: dict
|
||||
sample:
|
||||
|
|
Loading…
Add table
Reference in a new issue