summaryrefslogtreecommitdiffstats
path: root/utils/src
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-09 13:54:41 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-09 13:54:41 -0500
commit7b0a657110316516a0c667063dbb63ca48ac2b16 (patch)
treeba9484eb6ec95997f7a50a79d06badfc58ef9337 /utils/src
parent64d45538066480b8d0ab01e4359e482cc05cec6a (diff)
parente109335a205a31a96611a5206947aa090a963241 (diff)
downloadopenshift-7b0a657110316516a0c667063dbb63ca48ac2b16.tar.gz
openshift-7b0a657110316516a0c667063dbb63ca48ac2b16.tar.bz2
openshift-7b0a657110316516a0c667063dbb63ca48ac2b16.tar.xz
openshift-7b0a657110316516a0c667063dbb63ca48ac2b16.zip
Merge pull request #851 from smunilla/scaleup_node_error
atomic-openshift-installer: Generate inventory off hosts_to_run_on
Diffstat (limited to 'utils/src')
-rw-r--r--utils/src/ooinstall/openshift_ansible.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/src/ooinstall/openshift_ansible.py b/utils/src/ooinstall/openshift_ansible.py
index bac4951d5..489a0f7c1 100644
--- a/utils/src/ooinstall/openshift_ansible.py
+++ b/utils/src/ooinstall/openshift_ansible.py
@@ -127,7 +127,7 @@ def default_facts(hosts, verbose=False):
def run_main_playbook(hosts, hosts_to_run_on, verbose=False):
global CFG
- inventory_file = generate_inventory(hosts)
+ inventory_file = generate_inventory(hosts_to_run_on)
if len(hosts_to_run_on) != len(hosts):
main_playbook_path = os.path.join(CFG.ansible_playbook_directory,
'playbooks/common/openshift-cluster/scaleup.yml')