Ansible 2.1.1.0 Several hierarchical groups can be defined for a particular device in inventory. Since hostvars[inventory_hostname].group_names lists all device groups listed in alphabetical order, hostvars[inventory_hostname].group_names[0] does not necessarily point to the right answer.
Does someone have a suggestion? -- 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/22ea2ead-bf1d-4eff-88dc-96e8bb30510f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
