# Local usage of Ansible now possible

**URL:** <https://forum.ansible.com/t/local-usage-of-ansible-now-possible/11400>\
**Category:** Ansible Project\
**Created:** [April 7, 2012, 6:54pm UTC](https://forum.ansible.com/t/local-usage-of-ansible-now-possible/11400 "2012-04-07T18:54:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [April 7, 2012, 6:54pm UTC](https://forum.ansible.com/t/local-usage-of-ansible-now-possible/11400/1 "2012-04-07T18:54:07Z")

</div>

I’ve merged in sfromm’s patch that allows for local connections.

This will make using ansible via cron or from a kickstart trivial.

If the hostname is localhost or 127.0.0.1, or matches the uname of the system you’re on, commands will run locally versus across paramiko/SSH.

This is also nice because you won’t have to add your own SSH key to authorized\_keys, and it will be faster for those cases.

–Michael
