You can’t use Python modules on a Windows host, use win_file and not file.
Thanks Jordan -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/fba15520-f1d3-499b-8e6d-38fa0a5581e9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.