summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2015-11-06 11:43:25 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2015-11-06 11:43:25 -0400
commit98b69946496d0b214c5bd0d384e1cea0856c4cbb (patch)
tree21cfb559c1ad3f2c09b4db02b572e9c0324f1869
parent66791fd954731c7d4286d48683b7fe40288d5000 (diff)
downloadopenshift-98b69946496d0b214c5bd0d384e1cea0856c4cbb.tar.gz
openshift-98b69946496d0b214c5bd0d384e1cea0856c4cbb.tar.bz2
openshift-98b69946496d0b214c5bd0d384e1cea0856c4cbb.tar.xz
openshift-98b69946496d0b214c5bd0d384e1cea0856c4cbb.zip
Fix pylint errors with getting hosts to run on.
-rw-r--r--utils/src/ooinstall/cli_installer.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index 9f0861b77..e63f14816 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -323,6 +323,8 @@ def get_installed_hosts(hosts, callback_facts):
installed_hosts.append(host)
return installed_hosts
+# pylint: disable=too-many-branches
+# This pylint error will be corrected shortly in separate PR.
def get_hosts_to_run_on(oo_cfg, callback_facts, unattended, force, verbose):
# Copy the list of existing hosts so we can remove any already installed nodes.
@@ -383,7 +385,7 @@ def get_hosts_to_run_on(oo_cfg, callback_facts, unattended, force, verbose):
openshift_ansible.set_config(oo_cfg)
click.echo('Gathering information from hosts...')
- callback_facts, error = openshift_ansible.default_facts(oo_cfg.hosts)
+ callback_facts, error = openshift_ansible.default_facts(oo_cfg.hosts, verbose)
if error:
click.echo("There was a problem fetching the required information. " \
"See {} for details.".format(oo_cfg.settings['ansible_log_path']))