Merge pull request #10229 from bcoca/patch_not_require_dest

patch action plugin does not require dest
pull/10255/head
Brian Coca 10 years ago
commit a022aed43d

@ -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…
Cancel
Save