From 99075976a8d74b955a394cb7dcaa69d452fccf04 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 30 Jul 2015 14:49:16 -0400 Subject: [PATCH] Fix missing params to download_s3file in s3 --- lib/ansible/modules/cloud/amazon/s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/s3.py b/lib/ansible/modules/cloud/amazon/s3.py index 623c73d1b25..9d1f7633a61 100644 --- a/lib/ansible/modules/cloud/amazon/s3.py +++ b/lib/ansible/modules/cloud/amazon/s3.py @@ -492,7 +492,7 @@ def main(): # If the destination path doesn't exist or overwrite is True, no need to do the md5um etag check, so just download. pathrtn = path_check(dest) if pathrtn is False or overwrite == 'always': - download_s3file(module, s3, bucket, obj, dest) + download_s3file(module, s3, bucket, obj, dest, retries, version=version) # Compare the remote MD5 sum of the object with the local dest md5sum, if it already exists. if pathrtn is True: