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
parent 3050856f2a
commit 294c0f91c0
4 changed files with 9 additions and 1 deletions

View file

@ -595,6 +595,9 @@ def integration_environment(args, target, cmd):
ANSIBLE_CALLBACK_WHITELIST='junit',
)
if args.debug_strategy:
env.update(dict(ANSIBLE_STRATEGY='debug'))
env.update(integration)
cloud_environment = get_cloud_environment(args, target)