mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Added support for ANSIBLE_VERBOSITY environment variable
Fixes 22087 Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
This commit is contained in:
parent
87119479d8
commit
2f2e792cae
2 changed files with 2 additions and 1 deletions
|
@ -287,7 +287,7 @@ class CLI(with_metaclass(ABCMeta, object)):
|
|||
|
||||
# base opts
|
||||
parser = SortedOptParser(usage, version=CLI.version("%prog"))
|
||||
parser.add_option('-v','--verbose', dest='verbosity', default=0, action="count",
|
||||
parser.add_option('-v','--verbose', dest='verbosity', default=C.DEFAULT_VERBOSITY, action="count",
|
||||
help="verbose mode (-vvv for more, -vvvv to enable connection debugging)")
|
||||
|
||||
if inventory_opts:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue