mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-19 17:01:26 -07:00
WIP attempt to retrieve all users privileges
This commit is contained in:
parent
033b4c74f9
commit
d7beeec410
6 changed files with 307 additions and 238 deletions
|
@ -525,7 +525,7 @@ def main():
|
|||
if subtract_privs:
|
||||
priv = None # avoid granting unwanted privileges
|
||||
reuse_existing_password = update_password == 'on_new_username'
|
||||
result = user_add(cursor, user, host, host_all, password, encrypted,
|
||||
result = user_add(module, cursor, user, host, host_all, password, encrypted,
|
||||
plugin, plugin_hash_string, plugin_auth_string,
|
||||
priv, tls_requires, module.check_mode, reuse_existing_password)
|
||||
changed = result['changed']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue