Fix stack create verbosity
This change reverts the change to verbose_level because it enables
ansible verbosity by default. Additionally this change hard codes true
for the wait_for_stack_ready function call so we always get the heat
stack creation output.
Revert "Don't override default verbose_level"
This reverts commit c8cd714588
.
Change-Id: Idcc00fa04d4a356efb9e0bc30bc24e0121f31961
This commit is contained in:
parent
eadf2b82d9
commit
fa3df6a00c
@ -234,7 +234,7 @@ def playbook_verbosity(self):
|
||||
if self.app.options.debug:
|
||||
return 3
|
||||
else:
|
||||
if self.app_args.verbose_level < 1:
|
||||
if self.app_args.verbose_level <= 1:
|
||||
return 0
|
||||
else:
|
||||
return self.app_args.verbose_level
|
||||
|
@ -110,7 +110,8 @@ def deploy_and_wait(log, clients, stack, plan_name, verbose_level,
|
||||
status='DEPLOY_FAILED')
|
||||
raise
|
||||
|
||||
verbose_events = verbose_level >= 1
|
||||
# we always want the heat stack output while it's going.
|
||||
verbose_events = True
|
||||
|
||||
# TODO(rabi) Simplify call to get events as we don't need to wait
|
||||
# for stack to be ready anymore i.e just get the events.
|
||||
|
Loading…
Reference in New Issue
Block a user