Hi Everyone,

I am new to Ansible , I have created new inventory yml file with below 
details .

KafkaNonprodservers:
  hosts:
      abc.abc.com:2022
      abd.abd.com:2022
   ansible_user : abc

but I am getting below error 

+ ansible-inventory -i ./ansible/Hosts.yml --list [WARNING]: Skipping 
unexpected key (ansible_user) in group (KafkaNonprodservers), only "vars", 
"children" and "hosts" are valid 
{ 

Can you please guide me,.

Regards,
Deepak

-- 
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/fb100f1b-3641-4267-8e35-e187c341631a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to