Properly control debug logs for standalone

'openstack tripleo deploy' should be invoked with --debug
in order to display events from ansible would be hidden with
no_log otherwise:

no_log: "{{ not ((ansible_verbosity | int) >= 2) | bool }}"

And ansible_verbosity in tripleoclient only gets >=2 whenever
the openstack cliff's app.options.debug=True or
app_args.verbose_level > 1.

Use existing tripleo_deploy_debug to control that.

Change-Id: If7a87ee9c2c7a4084f7ed0b6fe55cc289f9f7668
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
Bogdan Dobrelya 2020-05-26 17:32:41 +02:00
parent 5a7f69b1a3
commit 63422eb05b

@ -1,4 +1,4 @@
sudo openstack tripleo deploy \
sudo openstack tripleo deploy {%- if tripleo_deploy_debug | bool -%}--debug{%-endif -%} \
--templates \
--local-ip={{ standalone_ip }}/{{ standalone_network_prefix }} \
-e {{ overcloud_templates_path }}/environments/standalone/standalone-tripleo.yaml \