ansible/ansible — pull request #2179 by skinp (2013-02-22 16:52:49+00:00)
Title: Add support for connection type in ansible_hosts file

This enables support for a variable `ansible_connection` in the hosts file, which allows mixing configuration of a local server (without an SSH server) and remote ones. For example:

[hosts]
localhost ansible_connection=local
host1
host2

I find it useful to manage servers and my local laptop with the same set of playbooks in one run.