Yes I'm still seeing this error even with ansible 2.2.0 Once ansible_connection is set in the inventory, I can not override it in a playbook nor from the command line. It feels like the inverse of the desired behavior as the closer settings are being ignored based on a config that is further away from the point of execution.
On Monday, March 23, 2015 at 12:39:14 PM UTC-6, [email protected] wrote: > > 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 > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/887c6b9f-ad39-4cf9-b9f2-73875e6a7b29%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
