Any help would be appreciated.

On Thursday, May 21, 2020 at 1:36:15 PM UTC+5:30, rajthecomputerguy wrote:
>
> Hi Team,
>
> How to handle password prompt when doing scp file transfer.  Actually 
> 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 }}@{{ ip_address }}/{{ 
> new_system_image }} flash:'
>         prompt: 
>             - 'Destination filename \[{{ new_system_image }}\]'
>             - 'Password'
>         answer: 
>             - "\r"
>             - "{{ password }}"
>
>
>

-- 
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/0bca812d-cc0d-4d5b-91ca-589c5192ff62%40googlegroups.com.

Reply via email to