mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #10229 from bcoca/patch_not_require_dest
patch action plugin does not require dest
This commit is contained in:
commit
a022aed43d
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ class ActionModule(object):
|
|||
dest = options.get('dest', 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")
|
||||
if src is None:
|
||||
result = dict(failed=True, msg="src is required")
|
||||
return ReturnData(conn=conn, comm_ok=False, result=result)
|
||||
|
||||
if remote_src:
|
||||
|
|
Loading…
Reference in a new issue