diff options
author | Wesley Hearn <wesley.s.hearn@gmail.com> | 2015-07-23 11:33:55 -0400 |
---|---|---|
committer | Wesley Hearn <wesley.s.hearn@gmail.com> | 2015-07-23 11:33:55 -0400 |
commit | 97f96b71ff8abc2ccf38e745e124c68b91a71146 (patch) | |
tree | 5277b77d4652b3c502f7f5f9da4033ae89edd24f /playbooks/libvirt | |
parent | 65aa983ce83cafc45d28a1a283525f1fa45a9895 (diff) | |
parent | c4cca1d7184ae859706b5854a04f18095c12f1d6 (diff) | |
download | openshift-97f96b71ff8abc2ccf38e745e124c68b91a71146.tar.gz openshift-97f96b71ff8abc2ccf38e745e124c68b91a71146.tar.bz2 openshift-97f96b71ff8abc2ccf38e745e124c68b91a71146.tar.xz openshift-97f96b71ff8abc2ccf38e745e124c68b91a71146.zip |
Merge pull request #376 from wshearn/infra_node_support
Infra node support
Diffstat (limited to 'playbooks/libvirt')
-rw-r--r-- | playbooks/libvirt/openshift-cluster/launch.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/playbooks/libvirt/openshift-cluster/launch.yml b/playbooks/libvirt/openshift-cluster/launch.yml index 6badcb325..6630fa27d 100644 --- a/playbooks/libvirt/openshift-cluster/launch.yml +++ b/playbooks/libvirt/openshift-cluster/launch.yml @@ -23,13 +23,29 @@ instances: "{{ master_names }}" cluster: "{{ cluster_id }}" type: "{{ k8s_type }}" + g_sub_host_type: "default" - include: ../../common/openshift-cluster/set_node_launch_facts_tasks.yml + vars: + type: "compute" + count: "{{ num_nodes }}" - include: tasks/launch_instances.yml vars: instances: "{{ node_names }}" cluster: "{{ cluster_id }}" type: "{{ k8s_type }}" + g_sub_host_type: "{{ sub_host_type }}" + + - include: ../../common/openshift-cluster/set_node_launch_facts_tasks.yml + vars: + type: "infra" + count: "{{ num_infra }}" + - include: tasks/launch_instances.yml + vars: + instances: "{{ infra_names }}" + cluster: "{{ cluster_id }}" + type: "{{ k8s_type }}" + g_sub_host_type: "{{ sub_host_type }}" - include: update.yml |