mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
06f7858622
commit
1becc665b2
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class ActionModule(object):
|
||||||
def run(self, conn, tmp, module_name, module_args, inject):
|
def run(self, conn, tmp, module_name, module_args, inject):
|
||||||
|
|
||||||
if self.runner.check:
|
if self.runner.check:
|
||||||
return ReturnData(conn=conn, comm_ok=True, result=dict(skipped=True, msg='check mode not supported for this module')
|
return ReturnData(conn=conn, comm_ok=True, result=dict(skipped=True, msg='check mode not supported for this module'))
|
||||||
|
|
||||||
args = parse_kv(module_args)
|
args = parse_kv(module_args)
|
||||||
if not 'hostname' in args:
|
if not 'hostname' in args:
|
||||||
|
|
Loading…
Reference in a new issue