win_copy in windows 7 issue

Hi Experts,

I am facing following error message when trying to copy a .exe file of size 500MB using win_scp module.

[WARNING]: FATAL ERROR DURING FILE TRANSFER: HTTPSConnectionPool(host=‘172.17.11.112’, port=5986): Read timed out. (read timeout=120)

Target Machine: Windows 7 SP1 with powershell v3.0 (KB2842230 is installed)

Ansible version used: 2.5.0

Task details:

  • name: Copy Installer to windows 7 machine
    win_copy:
    src: ‘/home/sushanta/installer.exe’
    dest: C:\Workspace\

Tried increasing following parameters in inventory file:

ansible_winrm_operation_timeout_sec: 100
ansible_winrm_read_timeout_sec: 120

Thanks,
Sushanta