Collection: Fix job_list all_pages next value

This commit is contained in:
Caleb Boylan 2020-02-27 11:38:54 -08:00
parent e096ad18cb
commit c374316648

View File

@ -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):