We're using playbooks to bring up AWS infrastructure, then provision within the OS
This works fine for linux hosts, as we just use connection: local in the plays that do instance provisioning etc. and can bring hosts up according to inventory vars set for the individual hosts.
We're blocked when working with windows hosts at the moment though...
Setting ansible_connection=winrm in inventory seems to override subsequent attempts to use connection: local in a play.
Has anyone else seen this... any ideas how to get around it
Thanks,
Andy