mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-22 05:51:45 -07:00
[ci skip] handle change
This commit is contained in:
parent
88f900461d
commit
51f2c05ea4
2 changed files with 11 additions and 5 deletions
|
@ -517,8 +517,10 @@ def main():
|
|||
should be positive number")
|
||||
|
||||
if salt:
|
||||
if not plugin_auth_string:
|
||||
module.fail_json(msg="salt requires plugin_auth_string")
|
||||
if len(salt) != 20:
|
||||
module.fail_json(msg="Salt must be 20 characters long")
|
||||
module.fail_json(msg="salt must be 20 characters long")
|
||||
if plugin not in ['caching_sha2_password', 'sha256_password']:
|
||||
module.fail_json(msg="salt requires caching_sha2_password or sha256_password plugin")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue