From 1b642fcf756c5d95781490fee7d674d6d53492b1 Mon Sep 17 00:00:00 2001 From: Guruprasad Date: Mon, 15 Feb 2016 16:22:29 +0530 Subject: [PATCH] Fix typo in the copy module error message Fix the typos in the error message shown on trying to use remote_src=yes for copying directories --- lib/ansible/modules/files/copy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/copy.py b/lib/ansible/modules/files/copy.py index 765eda5a787..dd0e63e0772 100644 --- a/lib/ansible/modules/files/copy.py +++ b/lib/ansible/modules/files/copy.py @@ -236,7 +236,7 @@ def main(): if not os.access(src, os.R_OK): module.fail_json(msg="Source %s not readable" % (src)) if os.path.isdir(src): - module.fail_json(msg="Remote copy does not support recurisive copy of direcory: %s" % (src)) + module.fail_json(msg="Remote copy does not support recursive copy of directory: %s" % (src)) checksum_src = module.sha1(src) checksum_dest = None