Need Assistance With Ansible Error

I am new to ansible.

I create an inventory file

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

Thanks Orkhan, but the same issue

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/

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.