mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add --debug option to ansible-test.
This commit is contained in:
@@ -32,4 +32,7 @@ def ansible_environment(args):
|
||||
|
||||
env.update(ansible)
|
||||
|
||||
if args.debug:
|
||||
env.update(dict(ANSIBLE_DEBUG='true'))
|
||||
|
||||
return env
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user