Re: [ansible-project] variables defined in the Inventory

2017-08-11 Thread wenxing zheng
Get it. Many thanks for the feedback. -- 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,

Re: [ansible-project] variables defined in the Inventory

2017-08-11 Thread Kai Stian Olstad
On 11. aug. 2017 09:20, wenxing zheng wrote: 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