mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
gitlab_runner: Make owned and project mutually exclusive (#4136)
* gitlab_runner: Set owned and project mutually exclusive * gitlab_runner : Refactor _runners_endpoint usage
This commit is contained in:
parent
988cc82a89
commit
05c3e0d69f
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