From b61d531dfc36ad485db1440729ee8392ada3aa64 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 7 Mar 2016 10:39:24 -0500 Subject: [PATCH] corrected typo on aws connection arguments var --- lib/ansible/modules/cloud/amazon/s3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/s3.py b/lib/ansible/modules/cloud/amazon/s3.py index 672bd9acb3e..db092dc6e8c 100644 --- a/lib/ansible/modules/cloud/amazon/s3.py +++ b/lib/ansible/modules/cloud/amazon/s3.py @@ -459,8 +459,8 @@ def main(): walrus = urlparse.urlparse(s3_url).hostname s3 = boto.connect_walrus(walrus, **aws_connect_kwargs) else: - aws_connect_args['is_secure'] = True - s3 = connect_to_aws(boto.s3, location, **aws_connect_args) + aws_connect_kwargs['is_secure'] = True + s3 = connect_to_aws(boto.s3, location, **aws_connect_kwargs) # use this as fallback because connect_to_region seems to fail in boto + non 'classic' aws accounts in some cases if s3 is None: s3 = boto.connect_s3(**aws_connect_kwargs)