Win_copy with become and SMB2 -> Limit transfer speed

Hey All

Quick question with regards to using win_copy with become and SMB2 protocol (Windows File Server to Windows Targets).
QoS is implemented, but not in the whole environment.

There is no option currently to limit transfer speed with the win-copy module and become, correct?
Would a possible workaround be to enable QoS Policy for SMB on the Windows File Server to limit outgoing data?

Thanks
Lukas

If you are using ‘remote_src: yes’ then Ansible is pretty much just calling the CopyFile API and is at the mercy of whatever that does. If there are some policies you can set on the server side, or even the client side then Ansible does not know anything about them and will just delegate the responsibility to the file system provider automatically.

Thanks

Jordan

Thank you Jordan!