浏览代码

Merge pull request #2566 from abutcher/dash-vee

[a-o-i] -v disables quiet ansible config.
Scott Dodson 8 年之前
父节点
当前提交
98a85d5161
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      utils/src/ooinstall/cli_installer.py

+ 1 - 1
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']