Browse Source

Merge pull request #851 from smunilla/scaleup_node_error

atomic-openshift-installer: Generate inventory off hosts_to_run_on
Brenton Leanhardt 9 years ago
parent
commit
7b0a657110
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/src/ooinstall/openshift_ansible.py

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