Add --debug option to ansible-test.

This commit is contained in:
Matt Clay 2017-02-01 11:15:08 -08:00
commit 309a37de86
3 changed files with 8 additions and 0 deletions

View file

@ -32,4 +32,7 @@ def ansible_environment(args):
env.update(ansible)
if args.debug:
env.update(dict(ANSIBLE_DEBUG='true'))
return env

View file

@ -416,6 +416,7 @@ class CommonConfig(object):
self.color = args.color # type: bool
self.explain = args.explain # type: bool
self.verbosity = args.verbosity # type: int
self.debug = args.debug # type: bool
class EnvironmentConfig(CommonConfig):