From 78e900cd7f8990c17d022757d7a366aad5cbe9c2 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Mon, 19 Feb 2018 16:42:37 -0800 Subject: [PATCH] Fix ansible-test --redact option with delegation. --- test/runner/lib/delegation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/runner/lib/delegation.py b/test/runner/lib/delegation.py index 99d27152033..17cd46c0af1 100644 --- a/test/runner/lib/delegation.py +++ b/test/runner/lib/delegation.py @@ -367,6 +367,7 @@ def filter_options(args, argv, options, exclude, require): options['--requirements'] = 0 options['--truncate'] = 1 + options['--redact'] = 0 if isinstance(args, TestConfig): options.update({ @@ -418,3 +419,6 @@ def filter_options(args, argv, options, exclude, require): yield '--truncate' yield '%d' % args.truncate + + if args.redact: + yield '--redact'