diff options
author | Samuel Munilla <smunilla@redhat.com> | 2015-11-09 10:25:12 -0500 |
---|---|---|
committer | Samuel Munilla <smunilla@redhat.com> | 2015-11-09 13:44:52 -0500 |
commit | e109335a205a31a96611a5206947aa090a963241 (patch) | |
tree | a05919bdbc37c2a667c5e055e070f6fa9637b0c0 /utils | |
parent | 334c20584080abaaee9551b25a0efed1526e5e72 (diff) | |
download | openshift-e109335a205a31a96611a5206947aa090a963241.tar.gz openshift-e109335a205a31a96611a5206947aa090a963241.tar.bz2 openshift-e109335a205a31a96611a5206947aa090a963241.tar.xz openshift-e109335a205a31a96611a5206947aa090a963241.zip |
atomic-openshift-installer: Generate inventory off hosts_to_run_on
This generates the ansible inventory based on the pruned list of non-installed
hosts we've created rather than the full host list provided in installer.cfg.yaml
Diffstat (limited to 'utils')
-rw-r--r-- | utils/src/ooinstall/openshift_ansible.py | 2 |
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') |