- hosts: this:&that:!those

In the above, the host must be in "this" and "that", but cannot be part of
the group named "those".




On Wed, Aug 6, 2014 at 5:37 PM, Henry Finucane <[email protected]> wrote:

> You could split it into two lines with 25 missing. If you think you're
> going to be doing a lot of special casing, you should consider a
> dynamic inventory too.
>
> On Wed, Aug 6, 2014 at 5:40 AM, Christian Schmitt
> <[email protected]> wrote:
> > Hello is there a way to exclude a host inside a Host pattern in a
> inventory
> > file?
> >
> > Example, I have the following inventory:
> >
> > [hosts]
> > www[01:50].example.com
> >
> > is it possible to exclude host 25 ?
> >
> > --
> > 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/3df1322e-8181-4a7f-9ce4-fe6aee3865b8%40googlegroups.com
> .
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> -----------------------
> | Henry Finucane
> | "I hear aphorisms are popular"
> -----------------------
>
> --
> 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/CAGYSzJ_tunP38ghyVP75QdDwVLP--r-v1QnNj_tJfFN5G0mDcg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BnsWgzA4q%2B51vUYFcDz-dKE8qD8vurv4g%3D8U%3D%2B40uYNX12rrw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to