1
0
Fork 0
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:
Brian Coca 2015-02-16 11:18:27 -05:00
commit a022aed43d

View file

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