any([a, b, c]) all([a, b, c]) and or not ( ) (a and b) or (c and d)
On Tue, Apr 21, 2026, 7:05 PM Thomas Bereknyei <[email protected]> wrote: > Currently hostgroup selection is an OR operation. This makes it harder to > consider the groups to be tags and select a set intersection. This has felt > missing in general usage. (Yes, this can be done with "--slf -" and piping, > but perhaps this is can be native?) > > @grp1+grp2/ means a server that satisfies either. > @tag1*tag2/ means a server that satisfies both? > @grp1+tag1*tag2/ means a server from either grp1 or having both tags > @grp1*tag1+grp2*tag2/ means a server from either grp1 w/tag1 OR grp2 > w/tag2. > > > The precedence feels natural. Or some other delimiter or flag? >
