1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix ansible-test --exclude with delegation.

Previously the option worked with integration commands but not units or sanity.
This commit is contained in:
Matt Clay 2018-10-15 12:43:45 -07:00
parent 2761fe8272
commit 38eba60849
2 changed files with 2 additions and 2 deletions

View file

@ -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 = []

View file

@ -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)