Preemptibile instances for GCE
This commit is contained in:
parent
04746fc4d8
commit
7dfc87397b
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
become: false
|
||||
gather_facts: no
|
||||
vars:
|
||||
cloud_machine_type: g1-small
|
||||
cloud_machine_type: n1-standard-2
|
||||
mode: default
|
||||
|
||||
tasks:
|
||||
|
@ -24,7 +24,7 @@
|
|||
instance_names: "{{instance_names}}"
|
||||
machine_type: "{{ cloud_machine_type }}"
|
||||
image: "{{ cloud_image }}"
|
||||
preemptible: no
|
||||
preemptible: yes
|
||||
service_account_email: "{{ gce_service_account_email }}"
|
||||
pem_file: "{{ gce_pem_file | default(omit)}}"
|
||||
credentials_file: "{{gce_credentials_file | default(omit)}}"
|
||||
|
|
Loading…
Reference in a new issue