pyinfra
pyinfra copied to clipboard
Inverse `limit`
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.
Neat idea, I like it.