mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
added option to ansible-test to run test playbooks using the debug strategy (#26499)
This commit is contained in:
committed by
Matt Clay
parent
3050856f2a
commit
294c0f91c0
@@ -183,7 +183,7 @@ def delegate_docker(args, exclude, require):
|
||||
|
||||
cmd_options = []
|
||||
|
||||
if isinstance(args, ShellConfig):
|
||||
if isinstance(args, ShellConfig) or (isinstance(args, IntegrationConfig) and args.debug_strategy):
|
||||
cmd_options.append('-it')
|
||||
|
||||
with tempfile.NamedTemporaryFile(prefix='ansible-source-', suffix='.tgz') as local_source_fd:
|
||||
|
||||
Reference in New Issue
Block a user