summaryrefslogtreecommitdiffstats
path: root/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
diff options
context:
space:
mode:
authorRomain Dossin <romain.dossin@amadeus.com>2015-11-19 11:26:43 +0100
committerRomain Dossin <romain.dossin@amadeus.com>2015-11-19 11:26:43 +0100
commitf5c376f6643b5791dabd197f368436d30fa8e4bc (patch)
tree458bde80edf7c59151b06be261c8a9c692307bc1 /playbooks/gce/openshift-cluster/tasks/launch_instances.yml
parentd42b92020d60550fc1ba6de97505d4c98f02f872 (diff)
downloadopenshift-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/tasks/launch_instances.yml')
-rw-r--r--playbooks/gce/openshift-cluster/tasks/launch_instances.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/gce/openshift-cluster/tasks/launch_instances.yml b/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
index c428cb465..de8a75b18 100644
--- a/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
+++ b/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
@@ -5,8 +5,8 @@
- name: Launch instance(s)
gce:
instance_names: "{{ instances }}"
- machine_type: "{{ lookup('env', 'gce_machine_type') | default('n1-standard-1', true) }}"
- image: "{{ lookup('env', 'gce_machine_image') | default(deployment_vars[deployment_type].image, true) }}"
+ machine_type: "{{ gce_machine_type | default(deployment_vars[deployment_type].machine_type, true) }}"
+ image: "{{ gce_machine_image | default(deployment_vars[deployment_type].image, true) }}"
service_account_email: "{{ lookup('env', 'gce_service_account_email_address') }}"
pem_file: "{{ lookup('env', 'gce_service_account_pem_file_path') }}"
project_id: "{{ lookup('env', 'gce_project_id') }}"