From c374316648a350ef7e92daf273fab57545d48fa2 Mon Sep 17 00:00:00 2001 From: Caleb Boylan Date: Thu, 27 Feb 2020 11:38:54 -0800 Subject: [PATCH] Collection: Fix job_list all_pages next value --- awx_collection/plugins/module_utils/tower_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx_collection/plugins/module_utils/tower_api.py b/awx_collection/plugins/module_utils/tower_api.py index 42124c3d8d..23c39916ad 100644 --- a/awx_collection/plugins/module_utils/tower_api.py +++ b/awx_collection/plugins/module_utils/tower_api.py @@ -231,6 +231,7 @@ class TowerModule(AnsibleModule): next_response = self.get_endpoint(next_page) response['json']['results'] = response['json']['results'] + next_response['json']['results'] next_page = next_response['json']['next'] + response['json']['next'] = next_page return response def get_one(self, endpoint, *args, **kwargs):