From 69b76a48b08d2c4dbde4361ce26a0b6400170185 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 12 Feb 2015 18:52:58 -0500 Subject: [PATCH] dest is not required as patchfile can have that info --- lib/ansible/runner/action_plugins/patch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/runner/action_plugins/patch.py b/lib/ansible/runner/action_plugins/patch.py index 7c2947cafe9..8af5dabae8a 100644 --- a/lib/ansible/runner/action_plugins/patch.py +++ b/lib/ansible/runner/action_plugins/patch.py @@ -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: