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/gce/openshift-cluster/launch.yml | |
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/gce/openshift-cluster/launch.yml')
-rw-r--r-- | playbooks/gce/openshift-cluster/launch.yml | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/playbooks/gce/openshift-cluster/launch.yml b/playbooks/gce/openshift-cluster/launch.yml index 35737f03d..7a3b80da0 100644 --- a/playbooks/gce/openshift-cluster/launch.yml +++ b/playbooks/gce/openshift-cluster/launch.yml @@ -15,17 +15,33 @@ 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 }}" - set_fact: - a_master: "{{ master_names[0] }}" - - add_host: name={{ a_master }} groups=service_master + a_infra: "{{ infra_names[0] }}" + - add_host: name={{ a_infra }} groups=service_master - include: update.yml |