mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-18 08:21:26 -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
|
- users_privs
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
|
# Don't work with sha256_password and cache_sha2_password
|
||||||
- name: Clone users on another server - Step 2
|
- name: Clone users on another server - Step 2
|
||||||
community.mysql.mysql_user:
|
community.mysql.mysql_user:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
|
@ -219,7 +220,8 @@ users_privs:
|
||||||
description:
|
description:
|
||||||
Information about users accounts. The output can be used as an input of the
|
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
|
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
|
returned: if not excluded by filter
|
||||||
type: dict
|
type: dict
|
||||||
sample:
|
sample:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue