mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-20 01:11:27 -07:00
Refactor get_existing_authentication to return a list of all row found
Previously we were returning only the first row found. We need to be able to see if there is a difference in the existing passwords.
This commit is contained in:
parent
c7218c71aa
commit
3f4af18cb9
2 changed files with 37 additions and 18 deletions
|
@ -633,7 +633,7 @@ class MySQL_Info(object):
|
|||
|
||||
authentications = get_existing_authentication(self.cursor, user, host)
|
||||
if authentications:
|
||||
output_dict.update(authentications)
|
||||
output_dict.update(authentications[0])
|
||||
|
||||
# TODO password_option
|
||||
# TODO lock_option
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue