Changing the way inverted matches work to make them more obvious

Just want to make sure I understand this.

Right now if I want to negate something I do:

-i myinventory 'hostgroup!hostname'

and that will hit all systems in the hostgroup whose names are not hostname?

do I have that right?

-sv

Just want to make sure I understand this.

Right now if I want to negate something I do:

-i myinventory ‘hostgroup!hostname’

and that will hit all systems in the hostgroup whose names are not
hostname?

do I have that right?

-sv

I sent a follow up email, but this was just my imagination and it was working the same way earlier and I didn’t change anything.

Your usage is correct, everything in “host group”, that does not match “hostname”

(multiple patterns in the same host spec are ORs, except “!patterns”, which work like ANDs, and --limit is also an AND.)

okay - that works. thanks
-sv