You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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
Dick Visser
unread,
Jun 8, 2023, 1:06:33 PM6/8/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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.