Fix ansible-test --exclude with delegation.

Previously the option worked with integration commands but not units or sanity.
pull/47087/head
Matt Clay 6 years ago
parent 2761fe8272
commit 38eba60849

@ -1213,7 +1213,7 @@ def command_units(args):
raise AllTargetsSkipped()
if args.delegate:
raise Delegate(require=changes)
raise Delegate(require=changes, exclude=args.exclude)
version_commands = []

@ -65,7 +65,7 @@ def command_sanity(args):
raise AllTargetsSkipped()
if args.delegate:
raise Delegate(require=changes)
raise Delegate(require=changes, exclude=args.exclude)
install_command_requirements(args)

Loading…
Cancel
Save