I’m trying to install ansible using ppa but I keep getting a error.
Setting up ansible-core (2.15.6-1ppa~jammy) …
Setting up ansible (8.6.0-1ppa~jammy) …
File “/usr/lib/python3/dist-packages/ansible_collections/netapp/ontap/plugins/modules/na_ontap_s3_users.py”, line 7
from future import absolute_import, division, print_function
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: from future imports must occur at the beginning of the file
dpkg: error processing package ansible (–configure):
installed ansible package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.10.2-1) …
Errors were encountered while processing:
ansible
E: Sub-process /usr/bin/dpkg returned an error code (1)
since encountering this error i can’t use raw module with my cisco devices