mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user