diff --git a/apps/automation/ansible/tower/custom/api.pm b/apps/automation/ansible/tower/custom/api.pm index 32159fefa..665e5b749 100644 --- a/apps/automation/ansible/tower/custom/api.pm +++ b/apps/automation/ansible/tower/custom/api.pm @@ -167,6 +167,8 @@ sub request_api { push @$results, @{$decoded->{results}}; last if (!defined($decoded->{next})); + + $page++; } return $results;