# Need Assistance With Ansible Error

**URL:** <https://forum.ansible.com/t/need-assistance-with-ansible-error/32688>\
**Category:** Ansible Project\
**Created:** [April 15, 2020, 3:46am UTC](https://forum.ansible.com/t/need-assistance-with-ansible-error/32688 "2020-04-15T03:46:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_James](https://avatars.discourse-cdn.com/v4/letter/g/5e9695/32.png) [@George\_James](https://forum.ansible.com/u/George_James)\
**Post date:** [April 15, 2020, 3:46am UTC](https://forum.ansible.com/t/need-assistance-with-ansible-error/32688/1 "2020-04-15T03:46:36Z")

</div>

I am new to ansible.

I create an inventory file

---

<div class="post-metadata">

**Author:** ![Orkhan\_Mammadov](https://avatars.discourse-cdn.com/v4/letter/o/eada6e/32.png) [@Orkhan\_Mammadov](https://forum.ansible.com/u/Orkhan_Mammadov)\
**Post date:** [April 15, 2020, 4:54am UTC](https://forum.ansible.com/t/need-assistance-with-ansible-error/32688/2 "2020-04-15T04:54:51Z")

</div>

Run the file from the directory, where your config file is located.

---

<div class="post-metadata">

**Author:** ![George\_James](https://avatars.discourse-cdn.com/v4/letter/g/5e9695/32.png) [@George\_James](https://forum.ansible.com/u/George_James)\
**Post date:** [April 15, 2020, 5:38am UTC](https://forum.ansible.com/t/need-assistance-with-ansible-error/32688/3 "2020-04-15T05:38:35Z")

</div>

Thanks Orkhan, but the same issue

---

<div class="post-metadata">

**Author:** ![David\_Foley](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@David\_Foley](https://forum.ansible.com/u/David_Foley)\
**Post date:** [April 15, 2020, 7:00am UTC](https://forum.ansible.com/t/need-assistance-with-ansible-error/32688/4 "2020-04-15T07:00:33Z")

</div>

It's not refusing the connection, but no harm in trying;

Did you add the key to known hosts file?

[https://www.techrepublic.com/article/how-to-easily-add-an-ssh-fingerprint-to-your-knownhosts-file-in-linux/](https://www.techrepublic.com/article/how-to-easily-add-an-ssh-fingerprint-to-your-knownhosts-file-in-linux/)

---

<div class="post-metadata">

**Author:** ![Andrew\_Latham](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Andrew\_Latham](https://forum.ansible.com/u/Andrew_Latham)\
**Post date:** [April 15, 2020, 12:21pm UTC](https://forum.ansible.com/t/need-assistance-with-ansible-error/32688/5 "2020-04-15T12:21:25Z")

</div>

I have seen issues with usernames or home directories that include spaces, I see your home directory has a dot “g.james”. Try this in another path.
