Has anyone had issues with their playbooks running after upgrading from
2.13 to 2.14 of ansible? I kept getting run error from my cisco.*
playbooks. My linux playbooks worked fine however. I backed out the
upgrade and now my cisco.* playbooks work again
Is there a specific upgrade process to follow, such as python3 -m pip
install ansible==7.6.0 --user? I ran the typical dnf upgrade -y. Thank
you!
The full traceback is:
File
"/root/.ansible/collections/ansible_collections/ansible/netcommon/plugins/modules/cli_command.py",
line 170, in main
response = connection.get(**module.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3.11/site-packages/ansible/module_utils/connection.py",
line 200, in __rpc__
raise ConnectionError(to_text(msg, errors='surrogate_then_replace'),
code=code)
fatal: [zzasxxx]: FAILED! => changed=false
invocation:
module_args:
answer: null
check_all: false
command: sh running-config
newline: true
prompt: null
sendonly: false
msg: Failed to import the required Python library (ansible-pylibssh) on
ho-lx-ansibles Python /usr/bin/python3.11. Please read the module
documentation and install it in the appropriate location. If the required
library is installed, but Ansible is using the wrong Python interpreter,
please consult the documentation on ansible_python_interpreter
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1939bd41-ee99-40e5-96ba-062c3f581dcan%40googlegroups.com.