DOH!!!! thanks so much! that worked. 

On Tuesday, March 22, 2016 at 12:20:41 PM UTC-4, Uditha Desilva wrote:
>
> You didn't specify the inventory in the 2nd command... try
>
> *ansible -i hosts -m ping all*
>
> On Tuesday, 22 March 2016 15:06:10 UTC, Leroy Walker Jr wrote:
>>
>> I could really use some help on this issue. I have a hosts file with one 
>> server.
>> the hosts looks like
>>
>> *[vm]*
>> *172.20.20.106*
>>
>> when i run the host command, i get:
>>
>> * ansible -i hosts --list-hosts all*
>> * hosts (1):*
>> * 172.20.20.106*
>>
>> but when i run a simple ping command  
>> *ansible hosts -m ping*
>> * [WARNING]: provided hosts list is empty, only localhost is available*
>>
>> I get the following
>>
>> I have not idea whats wrong! 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/100688fe-c545-4930-b4dc-802d8e830588%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to