See https://docs.ansible.com/ansible/latest/user_guide/windows_faq.html#what-windows-modules-are-available, you cannot run Python modules on Windows. You need to use the win_* variants if they are available.
-- 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/71c3fb22-0fe1-433c-b2b8-320a8921e86d%40googlegroups.com.
