diff --git a/plugins/module_utils/infrahub_utils.py b/plugins/module_utils/infrahub_utils.py index cab2f57..8882ccc 100644 --- a/plugins/module_utils/infrahub_utils.py +++ b/plugins/module_utils/infrahub_utils.py @@ -378,8 +378,11 @@ def fetch_and_process( query_str = self.client._render_query(query=query) elif isinstance(query, str): query_str = query - results = self.client.execute_graphql(query=query_str, variables=variables) - + response = self.client.execute_graphql(query=query_str, variables=variables) + results = [] + for node in response[schema.kind]["edges"]: + # TODO build all_nodes + pass return results