diff options
author | Thomas Wiest <twiest@users.noreply.github.com> | 2015-11-19 10:36:44 -0500 |
---|---|---|
committer | Thomas Wiest <twiest@users.noreply.github.com> | 2015-11-19 10:36:44 -0500 |
commit | 248decb5a36906160ed820602ac2227b44023afb (patch) | |
tree | 8d22e45d51d2d4c5ae45ed29bc38be5dd37c3c5c /playbooks/gce/openshift-cluster/tasks | |
parent | 6ee1a17c508327bb30b4a6563859358cc13786ef (diff) | |
parent | f5c376f6643b5791dabd197f368436d30fa8e4bc (diff) | |
download | openshift-248decb5a36906160ed820602ac2227b44023afb.tar.gz openshift-248decb5a36906160ed820602ac2227b44023afb.tar.bz2 openshift-248decb5a36906160ed820602ac2227b44023afb.tar.xz openshift-248decb5a36906160ed820602ac2227b44023afb.zip |
Merge pull request #937 from rdossin1A/machine_types
Differentiate machine types on GCE (master and nodes)
Diffstat (limited to 'playbooks/gce/openshift-cluster/tasks')
-rw-r--r-- | playbooks/gce/openshift-cluster/tasks/launch_instances.yml | 4 |
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') }}" |