From 4dfef454497d2bda486596312b942701c2951fe2 Mon Sep 17 00:00:00 2001 From: Ryan Brown Date: Wed, 25 Apr 2018 15:24:15 -0400 Subject: [PATCH] [s3_bucket] Increase timeout on versioning check, as it seems to take longer to propagate than other properties (#39325) --- lib/ansible/modules/cloud/amazon/s3_bucket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/s3_bucket.py b/lib/ansible/modules/cloud/amazon/s3_bucket.py index 14869487108..3facc177994 100644 --- a/lib/ansible/modules/cloud/amazon/s3_bucket.py +++ b/lib/ansible/modules/cloud/amazon/s3_bucket.py @@ -375,7 +375,7 @@ def wait_payer_is_applied(module, s3_client, bucket_name, expected_payer, should def wait_versioning_is_applied(module, s3_client, bucket_name, required_versioning): - for dummy in range(0, 12): + for dummy in range(0, 24): try: versioning_status = get_bucket_versioning(s3_client, bucket_name) except (BotoCoreError, ClientError) as e: