Hi Kai, I have installed openssh-server and openssh-clients on the control machine and the error still persists. Any other way forward??
On Monday, October 3, 2016 at 4:10:07 PM UTC+5:30, Kai Stian Olstad wrote: > > On 03.10.2016 12:28, Mona Gopal wrote: > > I am facing a similar issue. > > I have non-root access to a server to which i am able to connect > > manually. > > But ansible throws "to use the 'ssh' connection type with passwords, > > you > > must install the sshpass program" error when i execute the playbook. > > My hosts file contains the ip address and credentials to login to that > > server in the below format > > ip ansible_ssh_user="non-root-user" ansible_ssh_pass="password" > > > > Is it necessary to install sshpass on the remote node as well?? > > I do not have root access, so how do i go about it? > > Not on the remote node, but you need sshpass on your Ansible control > machine. > > -- > Kai Stian Olstad > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/69c89a74-8c54-4575-8186-3bc05fd6fb24%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
