summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-01-29 16:31:02 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-02-02 14:42:49 -0500
commit911ba46a68ff5c9748a9e93b96e2983342a573fa (patch)
tree9cddfbd14b0bc3c1d6da307b76a7a7a7f95364dd /playbooks
parentb5122288254db255ddc60b1e9095047abdf8c9e3 (diff)
downloadopenshift-911ba46a68ff5c9748a9e93b96e2983342a573fa.tar.gz
openshift-911ba46a68ff5c9748a9e93b96e2983342a573fa.tar.bz2
openshift-911ba46a68ff5c9748a9e93b96e2983342a573fa.tar.xz
openshift-911ba46a68ff5c9748a9e93b96e2983342a573fa.zip
add etcd hosts for gce playbooks
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/gce/openshift-cluster/launch.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/playbooks/gce/openshift-cluster/launch.yml b/playbooks/gce/openshift-cluster/launch.yml
index c16d8b892..7532a678b 100644
--- a/playbooks/gce/openshift-cluster/launch.yml
+++ b/playbooks/gce/openshift-cluster/launch.yml
@@ -10,6 +10,17 @@
- fail: msg="Deployment type not supported for gce provider yet"
when: deployment_type == 'enterprise'
+ - include: ../../common/openshift-cluster/tasks/set_etcd_launch_facts.yml
+ - include: tasks/launch_instances.yml
+ vars:
+ instances: "{{ etcd_names }}"
+ cluster: "{{ cluster_id }}"
+ type: "{{ k8s_type }}"
+ g_sub_host_type: "default"
+ gce_machine_type: "{{ lookup('env', 'gce_machine_etcd_type') | default(lookup('env', 'gce_machine_type'), true) }}"
+ gce_machine_image: "{{ lookup('env', 'gce_machine_etcd_image') | default(lookup('env', 'gce_machine_image'), true) }}"
+
+
- include: ../../common/openshift-cluster/tasks/set_master_launch_facts.yml
- include: tasks/launch_instances.yml
vars: