mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-02 04:04:26 -07:00
Test with check mode
This commit is contained in:
parent
23861752c2
commit
725f0d9df2
1 changed files with 1 additions and 0 deletions
|
@ -412,6 +412,7 @@ def user_mod(cursor, user, host, host_all, password, encrypted,
|
|||
query_with_args = "ALTER USER %s@%s IDENTIFIED WITH %s", (user, host, plugin)
|
||||
|
||||
cursor.execute(*query_with_args)
|
||||
password_changed = True
|
||||
changed = True
|
||||
|
||||
# Handle privileges
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue