|
|
@ -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:
|
|
|
|