summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-10-07 11:44:35 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-10-07 11:52:32 -0400
commit33020bf3b82a8e8b83cf28cdcb830ec97375760c (patch)
treed2ccb68e0f39a6d1a96709cee6e981a64a2ec48d
parente7d036f42257602d79fc34c387505bb064e1b391 (diff)
downloadopenshift-33020bf3b82a8e8b83cf28cdcb830ec97375760c.tar.gz
openshift-33020bf3b82a8e8b83cf28cdcb830ec97375760c.tar.bz2
openshift-33020bf3b82a8e8b83cf28cdcb830ec97375760c.tar.xz
openshift-33020bf3b82a8e8b83cf28cdcb830ec97375760c.zip
[a-o-i] -v disables quiet ansible config.
-rw-r--r--utils/src/ooinstall/cli_installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index 347ae7ec9..8f4e6af30 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -876,7 +876,7 @@ def cli(ctx, unattended, configuration, ansible_playbook_directory, ansible_log_
# If we're installed by RPM this file should exist and we can use it as our default:
oo_cfg.settings['ansible_config'] = DEFAULT_ANSIBLE_CONFIG
- if os.path.exists(QUIET_ANSIBLE_CONFIG):
+ if not verbose and os.path.exists(QUIET_ANSIBLE_CONFIG):
oo_cfg.settings['ansible_quiet_config'] = QUIET_ANSIBLE_CONFIG
oo_cfg.settings['ansible_log_path'] = ctx.obj['ansible_log_path']