Skip to content

Commit

Permalink
Bump AnsibleTower inventories page limit to 200
Browse files Browse the repository at this point in the history
We have quite a lot of users now. This should be a short-term fix.
  • Loading branch information
JacobCallahan committed Sep 16, 2024
1 parent 44c9308 commit 6b88e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broker/providers/ansible_tower.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ def get_inventory(self, user=None):
user = user or self.username
invs = [
inv
for inv in self._v2.inventory.get(page_size=100).results
for inv in self._v2.inventory.get(page_size=200).results
if user in inv.name or user == "@ll"
]
hosts = []
Expand Down

0 comments on commit 6b88e8e

Please sign in to comment.