added option to ansible-test to run test playbooks using the debug strategy (#26499)

This commit is contained in:
David Newswanger 2017-07-07 15:37:08 -04:00 committed by Matt Clay
commit 294c0f91c0
4 changed files with 9 additions and 1 deletions

View file

@ -216,6 +216,10 @@ def parse_args():
action='store_true',
help='retry failed test with increased verbosity')
integration.add_argument('--debug-strategy',
action='store_true',
help='run test playbooks using the debug strategy')
subparsers = parser.add_subparsers(metavar='COMMAND')
subparsers.required = True # work-around for python 3 bug which makes subparsers optional