Download Github file from Ansible

Hi,

Is it possible to download a Github file without Git module to a remote machine (windows) using win_get_url or win_uri module ?

Thankyou,
Shyam

Yes,

[https://raw.githubusercontent.com/user/repository/branch/filename](https://raw.githubusercontent.com/user/repository/branch/filename)

Using win_get_url and win_uri ?

Thank you.
Shyam

You can very well use win_get_url https://docs.ansible.com/ansible/latest/modules/win_get_url_module.html#examples

Regards,
Ompragash