Hi Komalsuth,

you need to install sshpass localy on your ansible "master" node - not on 
the target node.

Hope it helps.

Markus

komalsuth...@gmail.com schrieb am Mittwoch, 27. Oktober 2021 um 11:32:03 
UTC+2:

> ansible all -m ping
> SSH password: 
> 192.168.99.115 | FAILED! => {
>     "msg": "to use the 'ssh' connection type with passwords, you must 
> install the sshpass program"
> }
>
> This is the error msg I'm getting while connecting to the rhel v6.10 
> managed node. Even there all the openssh packages are installed.
>
> I tried to install sshpass but there is no package available.
>
> Any Help...!!
>

-- 
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/555ae9f1-853b-45d3-a551-b8d48fea562en%40googlegroups.com.

Reply via email to