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