From ce0e440d06c13b774217185bd4c0fe8ba31ee7c8 Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Thu, 26 May 2022 09:44:36 +0200 Subject: [PATCH] s3_sync - drop unused retries parameter (#1166) s3_sync - drop unused retries parameter SUMMARY The retries parameter was never used, remove it. ISSUE TYPE Feature Pull Request COMPONENT NAME s3_sync ADDITIONAL INFORMATION See also: ansible/ansible#63989 Reviewed-by: Markus Bergholz --- changelogs/fragments/1166-s3_sync-retries.yml | 2 ++ plugins/modules/s3_sync.py | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 changelogs/fragments/1166-s3_sync-retries.yml diff --git a/changelogs/fragments/1166-s3_sync-retries.yml b/changelogs/fragments/1166-s3_sync-retries.yml new file mode 100644 index 00000000000..41bd95a8589 --- /dev/null +++ b/changelogs/fragments/1166-s3_sync-retries.yml @@ -0,0 +1,2 @@ +removed_features: +- s3_sync - remove unused ``retries`` parameter (https://github.com/ansible-collections/community.aws/pull/1166). diff --git a/plugins/modules/s3_sync.py b/plugins/modules/s3_sync.py index 75c653f5712..f0135f6c13a 100644 --- a/plugins/modules/s3_sync.py +++ b/plugins/modules/s3_sync.py @@ -124,10 +124,6 @@ required: false default: no type: bool - retries: - description: - - The I(retries) option does nothing and will be removed after 2022-06-01 - type: str author: Ted Timmons (@tedder) extends_documentation_fragment: @@ -542,7 +538,6 @@ def main(): file_root=dict(required=True, type='path'), permission=dict(required=False, choices=['private', 'public-read', 'public-read-write', 'authenticated-read', 'aws-exec-read', 'bucket-owner-read', 'bucket-owner-full-control']), - retries=dict(required=False, removed_at_date='2022-06-01', removed_from_collection='community.aws'), mime_map=dict(required=False, type='dict'), exclude=dict(required=False, default=".*"), include=dict(required=False, default="*"),