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/
--
You received this message because you are subscribed to the Google Groups
"Ansible
Thanks Orkhan, but the same issue
On Wednesday, April 15, 2020 at 8:54:51 AM UTC+4, Orkhan Mammadov wrote:
>
> Run the file from the directory, where your config file is located.
>
> On Wednesday, April 15, 2020 at 7:46:36 AM UTC+4, George James wrote:
>>
>> I am new to ansible.
>>
>> I create an
Run the file from the directory, where your config file is located.
On Wednesday, April 15, 2020 at 7:46:36 AM UTC+4, George James wrote:
>
> I am new to ansible.
>
> I create an inventory file
>
> [web]
> 167.172.xxx.xxx ansible_connection=ssh ansible_user=root
> ansible_ssh_private_key_file=~