diff --git a/plugins/module_utils/_keycloak.py b/plugins/module_utils/_keycloak.py index 24c33074f1..20100c1438 100644 --- a/plugins/module_utils/_keycloak.py +++ b/plugins/module_utils/_keycloak.py @@ -1090,7 +1090,8 @@ class KeycloakAPI: If the username is not found, None is returned. :param username: Username of the user to fetch. - :param realm: Realm in which the user resides; default 'master'""" + :param realm: Realm in which the user resides; default 'master' + """ users_url = URL_USERS.format(url=self.baseurl, realm=realm) if username is not None: users_url += f"?username={quote(username, safe='')}&exact=true"