From f89f07871dda7048ab1d233291af913f60c1d4d4 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Mon, 19 Nov 2012 23:02:26 +0100 Subject: [PATCH] Fix typo in first_available_file error path --- lib/ansible/runner/action_plugins/copy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/action_plugins/copy.py b/lib/ansible/runner/action_plugins/copy.py index 3de5d3446fa..9ec2ee8484d 100644 --- a/lib/ansible/runner/action_plugins/copy.py +++ b/lib/ansible/runner/action_plugins/copy.py @@ -61,7 +61,7 @@ class ActionModule(object): break if not found: results=dict(failed=True, msg="could not find src in first_available_file list") - return ReturnData(conn=conn, results=results) + return ReturnData(conn=conn, result=results) source = utils.template(self.runner.basedir, source, inject) source = utils.path_dwim(self.runner.basedir, source)