Re: [ansible-project] Need Assistance With Ansible Error

2020-04-15 Thread Andrew Latham
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

[ansible-project] Need Assistance With Ansible Error

2020-04-14 Thread George James
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