Hii >From what you posted, it is not clear what the working situation consists of, and what the 'upgrade' version consists of. Right now I see a mix of "dnf" which implies an OS provided package, but you also have one (or more) collection(s) installed in root's home directory. Your suggestion of adding "pip install --user" to the mix will likely get you further from home.
I haven't read the official installation docs for a while (https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-and-upgrading-ansible) but those now seem to suggest that the pip installation method is the supported way of installing it (which I would agree with). So ideally you'd remove the OS package(s) and just use the pip method as per above instructions. On Thu, 8 Jun 2023 at 15:59, dbs34 <derekbellnersm...@gmail.com> wrote: > > 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 ansible-project+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/1939bd41-ee99-40e5-96ba-062c3f581dcan%40googlegroups.com. -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAF8BbLZQ%3DwT4eUgEn7TJgAPpTFJXGtvGa7OqBo-sdfwnAvQFPg%40mail.gmail.com.