Open op7ic opened 1 day ago
Files identified in the description:
None
If these files are incorrect, please update the component name
section of the description or use the component bot command.
Duplicate of https://github.com/ansible/ansible/issues/82068
Summary
Hi folks,
I started to build new server using ansible + terraform and hit the following problem when invoking ansible:
Traceback (most recent call last): File "", line 107, in
File "", line 99, in _ansiballz_main
File "", line 44, in invoke_module
File "", line 971, in _find_and_load
File "", line 951, in _find_and_load_unlocked
File "", line 894, in _find_spec
File "", line 1157, in find_spec
File "", line 1131, in _get_spec
File "", line 1112, in _legacy_get_spec
File "", line 441, in spec_from_loader
File "", line 544, in spec_from_file_location
File "/tmp/ansible_setup_payload_gkarwtna/ansible_setup_payload.zip/ansible/module_utils/basic.py", line 5
SyntaxError: future feature annotations is not defined
Error seems to reference the following code:
https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/basic.py
Issue Type
Bug Report
Component Name
https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/basic.py
Ansible Version
Configuration
OS / Environment
WSL
Steps to Reproduce
Code to invoke: ansible-playbook ansible/server.yml -vvv -t server
Expected Results
I would expect ansible to complete system build. It connects successfully but above error stops it from being able to work.
Actual Results
Code of Conduct