Because get_url is also a Python module https://docs.ansible.com/ansible/latest/user_guide/windows_faq.html#can-i-run-python-modules-on-windows-hosts.
The alternative for you is to either use win_get_url, or download the file on the controller using the Python modules and use win_copy to copy it across. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/760ce24f-6d55-40dd-84d3-b4eafbfb3367%40googlegroups.com.
