diff options
author | Jason DeTiberus <detiber@gmail.com> | 2015-11-06 10:59:58 -0500 |
---|---|---|
committer | Jason DeTiberus <detiber@gmail.com> | 2015-11-06 10:59:58 -0500 |
commit | e5cafe3da31848e12568a6fbd79dfd2193bb72e7 (patch) | |
tree | dd444fa5401e4448b37e583e9a16858e356ddbff /utils | |
parent | 77228623b9c96682b44056f07a933ab2d60d5041 (diff) | |
parent | 98b69946496d0b214c5bd0d384e1cea0856c4cbb (diff) | |
download | openshift-e5cafe3da31848e12568a6fbd79dfd2193bb72e7.tar.gz openshift-e5cafe3da31848e12568a6fbd79dfd2193bb72e7.tar.bz2 openshift-e5cafe3da31848e12568a6fbd79dfd2193bb72e7.tar.xz openshift-e5cafe3da31848e12568a6fbd79dfd2193bb72e7.zip |
Merge pull request #50 from dgoodwin/pre-upgrade
Run pre-upgrade script on nodes
Diffstat (limited to 'utils')
-rw-r--r-- | utils/src/ooinstall/cli_installer.py | 4 |
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'])) |