Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no longer out of the box usable with Ansible 2.17 #29

Open
wookietreiber opened this issue Aug 13, 2024 · 2 comments
Open

no longer out of the box usable with Ansible 2.17 #29

wookietreiber opened this issue Aug 13, 2024 · 2 comments

Comments

@wookietreiber
Copy link

I'm getting this with my molecule tests now:

ansible_ansible.legacy.setup_payload.zip/ansible/module_utils/basic.py
SyntaxError: future feature annotations is not defined

Looks to be the Python shipping with bionic / included in the image is too old for Ansible 2.17, for more details see here.

I'm wondering, can the image be updated with a more recent Python version that allows out of the box usage with Ansible 2.17?

@geerlingguy
Copy link
Owner

@wookietreiber - Not easily, unfortunately... the two options that are easiest are to upgrade systems to 20.04+, or to lock your Ansible version at a lower version. Since 18.04 is beyond LTS standard support, I have decided to move all my tests and systems to a base of 20.04 (with most now on 24.04).

@wookietreiber
Copy link
Author

Thanks for the reply, certainly the easiest option to drop support for out of LTS Bionic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants