def role_list(request):
 return keystoneclient(request, admin=True).roles.list()

def role_list ( request ) : return keystoneclient ( request , admin = True ) . roles . list ( )
list all available roles cli example: .