Fix missing ) in add_host

Fixes #1980.
pull/1978/merge
Daniel Hokka Zakrisson 12 years ago
parent 06f7858622
commit 1becc665b2

@ -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…
Cancel
Save