1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-29 16:37:42 +00:00

gitlab_runner: Make owned and project mutually exclusive (#4136) (#4210)

* gitlab_runner: Set owned and project mutually exclusive

* gitlab_runner : Refactor _runners_endpoint usage

(cherry picked from commit 05c3e0d69f)

Co-authored-by: Léo GATELLIER <26511053+lgatellier@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2022-02-17 13:29:19 +01:00 committed by GitHub
parent 57fa900f40
commit b1459b13fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 23 deletions

View file

@ -17,8 +17,9 @@ import gitlab
class FakeAnsibleModule(object):
def __init__(self):
def __init__(self, module_params=None):
self.check_mode = False
self.params = module_params if module_params else {}
def fail_json(self, **args):
pass