diff --git a/plugins/modules/mysql_info.py b/plugins/modules/mysql_info.py index 4c1dbcac..75553c41 100644 --- a/plugins/modules/mysql_info.py +++ b/plugins/modules/mysql_info.py @@ -517,12 +517,12 @@ def __get_users_privs(self): { "host": "users_privs.com", "priv": "*.*: ALL,GRANT", - "user": "users_privs_adm" + "name": "users_privs_adm" }, { "host": "users_privs.com", "priv": "`mysql`.*: SELECT/`users_privs_db`.*: SELECT", - "user": "users_privs_multi" + "name": "users_privs_multi" } ] """ @@ -569,7 +569,7 @@ def __get_users_privs(self): copy_ressource_limits = dict.copy(resource_limits) output_dict = { - 'user': user, + 'name': user, 'host': host, 'priv': '/'.join(priv_string), 'resource_limits': copy_ressource_limits,