Hi Daniel!

On 23.11.23 20:08, Daniel Leidert wrote:
Package: ansible
Version: 7.7.0+dfsg-3
Severity: normal
When trying to use the community.general.ssh_config module, I receive:

An exception occurred during task execution. To see the full traceback, use
-vvv. The error was: ModuleNotFoundError: No module named 'paramiko' fatal:
[localhost]: FAILED! => {"changed": false, "msg": "Failed to import the
required Python library (PARAMIKO) on [hostname]'s Python /usr/bin/python3.
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"}
Indeed. Did you try installing paramiko on the host you're executing it? This is 
documented in the upstream docs: 
https://docs.ansible.com/ansible/latest/collections/community/general/ssh_config_module.html
Since this is most of the time not the host that has ansible installed, changing 
any dependencies on the package won't make any sense.
The name in Debian for this module is python3-paramiko.

By the way:
   APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'oldstable-updates'), (500, 'oldstable-security'), (500, 'unstable'), (500, 
'testing'), (500, 'stable'), (500, 'oldstable')
We generally recommend against mixing releases, this is not supported and will 
bite you sooner or later. It's better to just run unstable and removing any 
residue package from older releases.
Regards,
Lee

Reply via email to