Fix ansible-test --redact option with delegation.
This commit is contained in:
parent
80d19e6af3
commit
78e900cd7f
1 changed files with 4 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue