On Fri, Mar 28, 2014 at 4:37 PM, Michael DeHaan <[email protected]> wrote: > We would not be taking a pull request for a new connection option. > > However, if you want to make sure the localhost if in the host file is > always local:
No. I want to make connection to host "yetanothernode" local only if I execute playbook on this host itself. If I execute playbook for this host from other machine, I want it to connect to "yetanothernode" by SSH as usual. The problem can also be generalized for nodes inside subnetwork, where node see each other by local IPs (or local protocol) and should connect using custom connection if some condition is met. If condition is not met, we assume to be outside the network and fall down to standard connection type. -- 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/CAPkN8x%2BxFnoBaN_yGw5%2BWFpzOCejM%2BAhLBTh%2BNd%2BsNZpZo_9yQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
