--------------
I tried using script module to run the single scp command, but it is not working.
My script file(abc.sh) contains below scp command -
#!/bin/bash
scp /home/capio/ansible/pmossWipm/day1/playbooks/xyz.yml a...@130.6.50.131:/home/user
My YML Looks like below -
---
- hosts: testserver
tasks:
- name: "run the script"
script: /home/capio/ansible/pmossWipm/day1/scripts/abc.sh
-----------------------------------------------------------------------------------------------------------------------------------------------
Error getting is as per below-

It is getting stuck here only and hence not proceeding.
Please suggest what exactly needs to be done!