1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix missing ) in add_host

Fixes #1980.
This commit is contained in:
Daniel Hokka Zakrisson 2013-02-04 12:21:33 +01:00
parent 06f7858622
commit 1becc665b2

View file

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