|
|
@ -58,6 +58,7 @@ class ActionModule(object):
|
|
|
|
options = {}
|
|
|
|
options = {}
|
|
|
|
if complex_args:
|
|
|
|
if complex_args:
|
|
|
|
options.update(complex_args)
|
|
|
|
options.update(complex_args)
|
|
|
|
|
|
|
|
|
|
|
|
options.update(utils.parse_kv(module_args))
|
|
|
|
options.update(utils.parse_kv(module_args))
|
|
|
|
|
|
|
|
|
|
|
|
src = options.get('src', None)
|
|
|
|
src = options.get('src', None)
|
|
|
@ -65,6 +66,7 @@ class ActionModule(object):
|
|
|
|
delimiter = options.get('delimiter', None)
|
|
|
|
delimiter = options.get('delimiter', None)
|
|
|
|
remote_src = utils.boolean(options.get('remote_src', 'yes'))
|
|
|
|
remote_src = utils.boolean(options.get('remote_src', 'yes'))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if src is None or dest is None:
|
|
|
|
if src is None or dest is None:
|
|
|
|
result = dict(failed=True, msg="src and dest are required")
|
|
|
|
result = dict(failed=True, msg="src and dest are required")
|
|
|
|
return ReturnData(conn=conn, comm_ok=False, result=result)
|
|
|
|
return ReturnData(conn=conn, comm_ok=False, result=result)
|
|
|
|