Dear all,

I have an inventory defined in the way below:

[Group1]
> host1
>
 

> [Group1:vars]
> package_name: aaa 

foo: bar
>
 

> [Group2]
> host1
>
 

> [Group2:vars]
> package_name: bbb
> foo1: bar



then I defined a playbook for the hosts with: Group2. But when I execute 
the playbook, I found the package_name was in aaa instead of bbb.

What's the problem here?

Thanks for the advice
Regards, Wenxing

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1d0b86c2-1cb3-4835-9ae7-64717c1fa6dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to