Long story short, ansible does not work on a Windows control machine, so you basically have to:
- either run
ansible --connection=local ...
in the target vm - set up a separate control vm where ansible is installed via shell provisioner
Below are Vagrantfile
examples for both approaches