mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Catch a unquoted line error. Fixes #6532
This commit is contained in:
parent
b8d5ba42f5
commit
94e3350b38
3 changed files with 10 additions and 3 deletions
|
@ -58,6 +58,7 @@ class ActionModule(object):
|
|||
options = {}
|
||||
if complex_args:
|
||||
options.update(complex_args)
|
||||
|
||||
options.update(utils.parse_kv(module_args))
|
||||
|
||||
src = options.get('src', None)
|
||||
|
@ -65,6 +66,7 @@ class ActionModule(object):
|
|||
delimiter = options.get('delimiter', None)
|
||||
remote_src = utils.boolean(options.get('remote_src', 'yes'))
|
||||
|
||||
|
||||
if src is None or dest is None:
|
||||
result = dict(failed=True, msg="src and dest are required")
|
||||
return ReturnData(conn=conn, comm_ok=False, result=result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue