mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-05 10:10:32 -07:00
mysql_user: fix error when modifying user with host_all
This commit is contained in:
parent
998913e5d2
commit
123258cfe4
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ def user_mod(cursor, user, host, host_all, password, encrypted,
|
|||
old_user_mgmt = use_old_user_mgmt(cursor)
|
||||
|
||||
if host_all:
|
||||
hostnames = user_get_hostnames(cursor, [user])
|
||||
hostnames = user_get_hostnames(cursor, user)
|
||||
else:
|
||||
hostnames = [host]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue