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.
On Tue, Apr 14, 2020 at 9:46 PM George James
wrote:
> I am new to ansible.
>
> I create an inventory file
>
> [web]
> 167.172.xxx.xxx ansible_connec
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=~/.ssh/id_rsa.pub
Then I run
ansible web -m ping -i hosts -
But I am presented with the following log and error
ansible 2.9.6
config file = No