Commit a022aed4 by Brian Coca

Merge pull request #10229 from bcoca/patch_not_require_dest

patch action plugin does not require dest
parents d0556885 69b76a48
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment