# can't get local connection to work

**URL:** <https://forum.ansible.com/t/cant-get-local-connection-to-work/11469>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [April 30, 2012, 3:23pm UTC](https://forum.ansible.com/t/cant-get-local-connection-to-work/11469 "2012-04-30T15:23:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suraj\_Gupta](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@Suraj\_Gupta](https://forum.ansible.com/u/Suraj_Gupta)\
**Post date:** [April 30, 2012, 3:23pm UTC](https://forum.ansible.com/t/cant-get-local-connection-to-work/11469/1 "2012-04-30T15:23:31Z")

</div>

Hi!

I’m eager to try Ansible, but hit a wall when trying to use a local connection. I’m on fresh install of Ubuntu Precise beta2. I cloned the repo, manually installed the 3 required packages, and called “sudo make install” (the only issue reported was "dist.py:267: UserWarning: Unknown distribution option: ‘install\_requires’)  
I can ssh into 127.0.0.1 just fine.

Here are the contents of hosts and my YAML file:

/etc/ansible/hosts:  
[laptop]  
127.0.0.1

~/machine/laptop.yaml:

---

<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 30, 2012, 6:14pm UTC](https://forum.ansible.com/t/cant-get-local-connection-to-work/11469/2 "2012-04-30T18:14:24Z")

</div>

This is fixed on the latest devel branch.

---

<div class="post-metadata">

**Author:** ![Suraj\_Gupta](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@Suraj\_Gupta](https://forum.ansible.com/u/Suraj_Gupta)\
**Post date:** [April 30, 2012, 7:19pm UTC](https://forum.ansible.com/t/cant-get-local-connection-to-work/11469/3 "2012-04-30T19:19:11Z")

</div>

worked great!
