On Wed, May 31, 2023 at 6:11 AM Sac Isilia <udaypratap.sing...@gmail.com> wrote: > > Hi Team, > > I am writing a playbook in which I need to use amazon.aws collection to > fetch the instance metadata. I am interested in particularly this module > (amazon.aws.ec2_metadata_facts). As per the documentation , this was > introduced in version 1.0.0 . I can see on the github repo that latest > version of amazon.aws collection is not going to support python version less > than 3.7 .
RHEL 6 is obsolete. Ansible expects python 3, especially on the ansible server. If the RHEL 6 is being remotely managed from a supportable ansible server, you should be able to install python34 from EPEL, but I'd get the heck off that host. > But my requirement can be satisfied if I use amazon.aws collection version > 1.0.0 or greater than that which will work with Python 2.6.6 and ansible > version 2.6.20 . The current OS is RHEL 6 . Please let me know if I can > customize this collection and make it work for RHEL 6 and Python 2.6.6 > version. If yes , can someone share the steps > > Regards > Sachin Kumar I recommend you stop playing with python 2 wherever avoidable, and prepare to replace that RHEL 6 host.. Expecting anything contemporary to work with it is... asking for support tasks you probably don't want to take on. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAOCN9rxGSKB%2BKzbdrznD%2B-mwq0FcSP4exo8W%3DBzvjW-tDeQa-g%40mail.gmail.com.