mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-27 16:31:47 -07:00
mysql_user: prevent password getting set for existing users on on_create when plugin is used
This commit is contained in:
parent
c489cf1a37
commit
8e84ef23dd
1 changed files with 5 additions and 0 deletions
|
@ -456,8 +456,13 @@ def main():
|
||||||
priv, append_privs, subtract_privs, tls_requires, module)
|
priv, append_privs, subtract_privs, tls_requires, module)
|
||||||
else:
|
else:
|
||||||
changed, msg = user_mod(cursor, user, host, host_all, None, encrypted,
|
changed, msg = user_mod(cursor, user, host, host_all, None, encrypted,
|
||||||
|
<<<<<<< HEAD
|
||||||
plugin, plugin_hash_string, plugin_auth_string,
|
plugin, plugin_hash_string, plugin_auth_string,
|
||||||
priv, append_privs, subtract_privs, tls_requires, module)
|
priv, append_privs, subtract_privs, tls_requires, module)
|
||||||
|
=======
|
||||||
|
None, None, None,
|
||||||
|
priv, append_privs, tls_requires, module)
|
||||||
|
>>>>>>> mysql_user: prevent password getting set for existing users on on_create when plugin is used
|
||||||
|
|
||||||
except (SQLParseError, InvalidPrivsError, mysql_driver.Error) as e:
|
except (SQLParseError, InvalidPrivsError, mysql_driver.Error) as e:
|
||||||
module.fail_json(msg=to_native(e))
|
module.fail_json(msg=to_native(e))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue