summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster
diff options
context:
space:
mode:
authorWesley Hearn <whearn@redhat.com>2015-07-20 16:20:12 -0400
committerWesley Hearn <whearn@redhat.com>2015-07-23 11:30:48 -0400
commitc4cca1d7184ae859706b5854a04f18095c12f1d6 (patch)
treed0637086194fcc303226ff7d3f98684c8d427a44 /playbooks/libvirt/openshift-cluster
parent0cbeae4df062af3e2c1a4cb08ef3b4e742394ed6 (diff)
downloadopenshift-c4cca1d7184ae859706b5854a04f18095c12f1d6.tar.gz
openshift-c4cca1d7184ae859706b5854a04f18095c12f1d6.tar.bz2
openshift-c4cca1d7184ae859706b5854a04f18095c12f1d6.tar.xz
openshift-c4cca1d7184ae859706b5854a04f18095c12f1d6.zip
Infra node support
Diffstat (limited to 'playbooks/libvirt/openshift-cluster')
-rw-r--r--playbooks/libvirt/openshift-cluster/launch.yml16
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