mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
Add --debug
option to ansible-test
.
This commit is contained in:
parent
67646a0771
commit
309a37de86
3 changed files with 8 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue