Closed smirlach closed 1 year ago
Hi @smirlach - We can look into the _sub_plugin
you referenced, in the meantime could you also try removing your declaration of ansible_python_interpreter: /usr/bin/python3
and updating your collection version? Since you're using a venv AND it's already python3 you should need that variable set, please let us know if the issue persists. in the meantime I'll work with development on recreating the issue
Hi @tchiapuziowong - thanks for the hint. It's working now :+1:
I tried installing the newest collection version before but unfortunately i had to overwrite it with --force
now it installed the current version.
Great to hear!
Hello,
i'm trying to gather the software version from an Aruba OS-CX device with Ansible and get the error "Unexpected failure during module execution: 'Connection' object has no attribute 'nonetype'".
My Ansible setup:
The version of the Ansible collection:
The Ansible inventory I'm using:
My Ansible playbook:
The full verbose (
-vvv
) error output:One the one hand this seems to be an issue with Ansible itself https://github.com/ansible/ansible/issues/79371 with a fix already proposed but not implemented. On the other hand the issue also states that it is a good idea to set the
_sub_plugin
value for connection plugins.So is the issue with my Ansible setup? Or is that _sub_plugin not implemented for this collection?