Closed asarubbo closed 1 year ago
@asarubbo,
Thanks for taking the time to open this Issue. The AWS SDK that this collection depends on has dropped support for Python <3.6. As a result, with release 2.0.0 we dropped support for Python < 3.6. The specific code you're having problems with was introduced in release 5.0.0, so you may be able to use the 4.x releases of this collection for your CentOS 7 boxes. However, if you wish to use newer versions you'll need to use Python 3.6 and install a supported version of botocore.
While CentOS has built python-botocore-1.12.75-1.el7, this is also a version of botocore which the collection no longer supports.
The only exception where we're maintaining Python 2.7 support is the ec2_metadata_facts
module.
Summary
Hi, by moving (in my case) from: ansible-6.7.0 / ansible-core-2.13.8 to ansible-7.4.0 / ansible-core-2.14.4
I'm unable to use anymore
aws_s3
where the target machine is a CentOS 7This is what I get by running ansible-playbook with -vvv:
I'm aware that README says "Due to the AWS SDK Python Support Policy this collection requires Python 3.6 or greater." but I decided to make a bug report considering that it affects RHEL 7 / CentOS 7 that does not provide by default the boto/botocore libraries compiled for python3
Issue Type
Bug Report
Component Name
aws_s3
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
Target machine is a up-to-date CentOS 7: CentOS Linux release 7.9.2009 (Core)
The host where ansible is running is an up-to-date Gentoo.
Steps to Reproduce
Expected Results
I expect to download the file
Actual Results
Code of Conduct