diff options
author | Romain Dossin <romain.dossin@amadeus.com> | 2015-11-19 11:26:43 +0100 |
---|---|---|
committer | Romain Dossin <romain.dossin@amadeus.com> | 2015-11-19 11:26:43 +0100 |
commit | f5c376f6643b5791dabd197f368436d30fa8e4bc (patch) | |
tree | 458bde80edf7c59151b06be261c8a9c692307bc1 /playbooks/gce/openshift-cluster/launch.yml | |
parent | d42b92020d60550fc1ba6de97505d4c98f02f872 (diff) | |
download | openshift-f5c376f6643b5791dabd197f368436d30fa8e4bc.tar.gz openshift-f5c376f6643b5791dabd197f368436d30fa8e4bc.tar.bz2 openshift-f5c376f6643b5791dabd197f368436d30fa8e4bc.tar.xz openshift-f5c376f6643b5791dabd197f368436d30fa8e4bc.zip |
Differentiate machine types on GCE (master and nodes)
Diffstat (limited to 'playbooks/gce/openshift-cluster/launch.yml')
-rw-r--r-- | playbooks/gce/openshift-cluster/launch.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/gce/openshift-cluster/launch.yml b/playbooks/gce/openshift-cluster/launch.yml index 8be5d53e7..d6ef57c45 100644 --- a/playbooks/gce/openshift-cluster/launch.yml +++ b/playbooks/gce/openshift-cluster/launch.yml @@ -16,6 +16,8 @@ cluster: "{{ cluster_id }}" type: "{{ k8s_type }}" g_sub_host_type: "default" + gce_machine_type: "{{ lookup('env', 'gce_machine_master_type') | default(lookup('env', 'gce_machine_type'), true) }}" + gce_machine_image: "{{ lookup('env', 'gce_machine_master_image') | default(lookup('env', 'gce_machine_image'), true) }}" - include: ../../common/openshift-cluster/tasks/set_node_launch_facts.yml vars: @@ -27,6 +29,8 @@ cluster: "{{ cluster_id }}" type: "{{ k8s_type }}" g_sub_host_type: "{{ sub_host_type }}" + gce_machine_type: "{{ lookup('env', 'gce_machine_node_type') | default(lookup('env', 'gce_machine_type'), true) }}" + gce_machine_image: "{{ lookup('env', 'gce_machine_node_image') | default(lookup('env', 'gce_machine_image'), true) }}" - include: ../../common/openshift-cluster/tasks/set_node_launch_facts.yml vars: |