mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
* 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:
parent
57fa900f40
commit
b1459b13fe
4 changed files with 33 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue