Re: [ansible-devel] How to handle password prompt when doing scp file transfer.

2020-05-25 Thread Jeffrey Zhang
try `sshpass` ? --- Regards, Jeffrey Zhang Blog: http://xcodest.me On Tue, May 26, 2020 at 12:25 AM Pushparaj Gothandam < rajthecomputer...@gmail.com> wrote: > > Hi Team, > > How to handle password prompt when doing scp file transfer. Actually > target scp server is generating banner message al

[ansible-devel] How to handle password prompt when doing scp file transfer.

2020-05-25 Thread Pushparaj Gothandam
Hi Team, How to handle password prompt when doing scp file transfer. Actually target scp server is generating banner message along with password prompt. Please help how to resolve the issue. - name: transfer the image ios_command: commands: - command: 'copy scp://{{ ansible_user