FAILED! => {"changed": false, "msg": "paramiko is not installed: No module named 'paramiko'"} ...ignoring

bacchus21
Fri, 17 Nov 2023 06:54:10 +0000
Get Help

Hello, All

I’m trying to run a playbook, it shows below error saying that “paramiko is not installed: No module named ‘paramiko’”. However, looks like paramiko is already installed on the server. Highly appreciated if anyone share similar experience or any feedback / advice. Thank you.

[root@ansible002 inventories]# ansible-playbook ios/plb-1-1.yml -i inv-test.yml

PLAY [plb-1-1] **************************************************

TASK [Check enable secret is configured] ***********************************************************
fatal: [OOOO-XXX-SW03]: FAILED! => {"changed": false, "msg": "paramiko is not installed: No module named 'paramiko'"}
...ignoring

PLAY RECAP *****************************************************************************************
OOOO-XXX-SW03 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=1

[root@ansible002 inventories]#
[root@ansible002 inventories]# ansible-doc -t connection -l
ansible.builtin.local execute on controller
ansible.builtin.paramiko_ssh Run tasks via python ssh (paramiko)
ansible.builtin.psrp Run tasks over Microsoft PowerShell Remoting Protocol
ansible.builtin.ssh connect via SSH client binary
ansible.builtin.winrm Run tasks over Microsoft's WinRM
ansible.netcommon.grpc Provides a persistent connection using the gRPC protocol
ansible.netcommon.httpapi Use httpapi to run command on network appliances
ansible.netcommon.libssh Run tasks using libssh for ssh connection
ansible.netcommon.netconf Provides a persistent connection using the netconf protocol
ansible.netcommon.network_cli Use network_cli to run command on network appliances
ansible.netcommon.persistent Use a persistent unix socket for connection
[root@ansible002 inventories]#

5 posts - 3 participants