Test with check mode

This commit is contained in:
Fran Sanjuán 2024-08-26 13:51:39 +02:00
commit 725f0d9df2

View file

@ -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