Respect limit when using `add_op`.
This means `--limit` with ad-hoc operations behaves correctly.
@@ -91,6 +91,7 @@ def add_op(state, op_func, *args, **kwargs):
results = {}
for host in hosts:
+ if state.is_host_in_limit(host):
kwargs['host'] = host
results[host] = op_func(*args, **kwargs)
after_host_callback(host)
