mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user