pyinfra icon indicating copy to clipboard operation
pyinfra copied to clipboard

Inverse `limit`

Open Firesphere opened this issue 6 months ago • 1 comments

Is your feature request related to a problem? Please describe

I would like to be able to use an --exclude filter, same as the --limit, but with the reverse functionality.

e.g. pyinfra inventory/myinventory.py main.py --exclude db1 would exclude the db1 server from execution.

Describe the solution you'd like

An implementation just like --limit, but to exclude servers.

Firesphere avatar Jun 25 '25 21:06 Firesphere

Neat idea, I like it.

Fizzadar avatar Jul 02 '25 20:07 Fizzadar