Basically you're asking that wildcards not match groups. I agree. https://github.com/ansible/ansible/blob/devel/lib/ansible/inventory/__init__.py#L267
Ultimately, I don't think many of us *do* use host patterns in host selectors, i.e. we're much more apt to do: - hosts: webservers:dbservers Rather than (with hostnames) - hosts: www*:db* I suspect this hasn't come up because we've always suggested using groups as host selectors, so it hasn't really been a major concern. But it does seem like wildcard group match could be ambiguous. Does anyone rely on wildcard group match? If not, I'm more than happy to change this. On Fri, Dec 20, 2013 at 5:43 AM, Marc Patermann < [email protected]> wrote: > Hi, > > I find it irritating that "a*" matches "all" too, like in --limit=a*. > I think this opens too much room for inintended behavior/errors. > In my opinion "all" should only called, if "all" was explicitly set. > > How about you? > > > Marc > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Michael DeHaan <[email protected]> CTO, AnsibleWorks, Inc. http://www.ansibleworks.com/ -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
