gitlab: Use all=True in most list() calls (#4491) (#4503)

If `all=True` is not set then by default only 20 records will be
returned when calling `list()`. Use `all=True` so that all records
will be returned.

For the `list()` use where do not desire to retrieve all entries then
use`all=False` to show explicityly that we don't want to get all of
the entries.

Fixes: #3729
Fixes: #4460
(cherry picked from commit fe4bbc5de3)

Co-authored-by: John Villalovos <john@sodarock.com>
This commit is contained in:
patchback[bot] 2022-04-13 13:43:21 +02:00 committed by GitHub
commit 19ba15a783
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 33 additions and 10 deletions

View file

@ -0,0 +1,23 @@
bugfixes:
- >
gitlab_group_members - handle more than 20 groups when finding a group
(https://github.com/ansible-collections/community.general/pull/4491,
https://github.com/ansible-collections/community.general/issues/4460,
https://github.com/ansible-collections/community.general/issues/3729).
- >
gitlab_group - improve searching for projects inside group on deletion
(https://github.com/ansible-collections/community.general/pull/4491).
- >
gitlab_hook - handle more than 20 hooks when finding a hook
(https://github.com/ansible-collections/community.general/pull/4491).
- >
gitlab_project - handle more than 20 namespaces when finding a namespace
(https://github.com/ansible-collections/community.general/pull/4491).
- >
gitlab_project_members - handle more than 20 projects and users when
finding a project resp. user
(https://github.com/ansible-collections/community.general/pull/4491).
- >
gitlab_user - handle more than 20 users and SSH keys when finding a user
resp. SSH key
(https://github.com/ansible-collections/community.general/pull/4491).