> > So this is bug then do i need to report that in ansible 2.4 it does not > work as expected ?
On Thursday, November 16, 2017 at 10:29:32 PM UTC+2, Brian Coca wrote: > > Don't take this as cannon, I would like to raise this in core team > meeting, but until then here are my thoughts: > > This is a bit complicated, in general a 'host pattern' should return a > group if it matches, if not it should try to match hosts. > That said, that is meant for 'string' patterns not '*glob' patterns, > which should match 'anything that matches', rendering the 2.3 > behaviour as 'correct' in my interpretation. > > Just to make it clear, for the first case 'string' it should not match > the host 'c1', only the group: > > [c1] > hosta > hostb > > [dev] > c1 > > should return: > hosta > hostb > > > but for the 2nd case '*1' should match both host and group: > > hosta > hostb > c1 > > ---------- > Brian Coca > -- 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/a6615de2-0a5b-4bc3-b17e-a023837aab25%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
