# Problem with installation

**URL:** <https://forum.ansible.com/t/problem-with-installation/12821>\
**Category:** Ansible Project\
**Created:** [May 17, 2013, 7:01pm UTC](https://forum.ansible.com/t/problem-with-installation/12821 "2013-05-17T19:01:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean\_Paul\_Manjarres](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@Jean\_Paul\_Manjarres](https://forum.ansible.com/u/Jean_Paul_Manjarres)\
**Post date:** [May 17, 2013, 7:01pm UTC](https://forum.ansible.com/t/problem-with-installation/12821/1 "2013-05-17T19:01:01Z")

</div>

I found the answer, it seems that i wasn’t allowed to use hostnames in the Ansible hosts file (don’t know why) . I changed to IP’s and now is working.

---

<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:** [May 17, 2013, 7:01pm UTC](https://forum.ansible.com/t/problem-with-installation/12821/2 "2013-05-17T19:01:57Z")

</div>

Sounds like you have a DNS issue.

You are definitely allowed to use hostnames.

---

<div class="post-metadata">

**Author:** ![Romeo\_Theriault](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@Romeo\_Theriault](https://forum.ansible.com/u/Romeo_Theriault)\
**Post date:** [May 17, 2013, 7:24pm UTC](https://forum.ansible.com/t/problem-with-installation/12821/3 "2013-05-17T19:24:20Z")

</div>

Well, hostnames are certainly allowed in the host file. I think your system likely had some issue resolving the hostnames.

Romeo
